summaryrefslogtreecommitdiff
path: root/src/init
diff options
context:
space:
mode:
authorGravatar Matthias Lucas Jaros <jarlucmat@mailbox.org>2025-11-30 12:11:19 +0100
committerGravatar Matthias Lucas Jaros <jarlucmat@mailbox.org>2025-11-30 12:11:19 +0100
commitb250e32859a65ff51c443d526a1aabce2310a978 (patch)
tree23d418b2e7ee22d2872a8a6d5e263e022dc2684e /src/init
parent1e523283fb08ba9007613624ae9d89c90dc242e7 (diff)
Replaced eval with double expansion
Diffstat (limited to 'src/init')
-rwxr-xr-xsrc/init4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init b/src/init
index d68c621..bc93c55 100755
--- a/src/init
+++ b/src/init
@@ -151,12 +151,12 @@ showBanner
# read variables
set -l users $_flag_u
for user in (set -n | string match -r "^USER_\S+")
- set users $users (eval echo \$$user)
+ set users $users $$user
end
set -l repos $_flag_r
for repo in (set -n | string match -r "^REPO_\S+")
- set repos $repos (eval echo \$$repo)
+ set repos $repos $$repo
end
if set -q $_flag_g