Fix variable visibility

This commit is contained in:
Manuel Thalmann 2024-07-20 01:36:22 +02:00
parent f993387a2d
commit 0877c36623

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"