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 end
if [ -z "$scope" ] || [ "$scope" = "system" ] if [ -z "$scope" ] || [ "$scope" = "system" ]
set -l root "valhalla" set root "valhalla"
set -l configArgs "--system" set configArgs "--system"
else else
set -l root "valhalla.users.$name" set root "valhalla.users.$name"
set -l configArgs "--global" set configArgs "--global"
set -l displayName "$root.displayName" set -l displayName "$root.displayName"
set -l mailAddress "$root.mailAddress" set -l mailAddress "$root.mailAddress"