Fix variable visibility

This commit is contained in:
Manuel Thalmann 2024-07-20 01:36:22 +02:00
parent cd35c5d4f4
commit 734a0a3c46

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"