Fix variable visibility

This commit is contained in:
Manuel Thalmann 2024-07-20 01:36:22 +02:00
parent 0c6c9050c9
commit 2a307cc943

View file

@ -17,11 +17,11 @@ begin
end
if [ -z "$scope" ] || [ "$scope" = "system" ]
set -l root "valhalla"
set -l configArgs "--system"
set root "valhalla"
set configArgs "--system"
else
set -l root "valhalla.users.$name"
set -l configArgs "--global"
set root "valhalla.users.$name"
set configArgs "--global"
set -l displayName "$root.displayName"
set -l mailAddress "$root.mailAddress"