From d4d5d2902c020419057d63c9791804906a6c60dd Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 22 Jun 2024 04:06:07 +0100 Subject: use backticks on eval commands, not subshells Signed-off-by: Leah Rowe --- build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build') diff --git a/build b/build index dbe7487d..ef5a1109 100755 --- a/build +++ b/build @@ -16,7 +16,7 @@ fi . "include/vendor.sh" . "include/mrc.sh" -eval "$(setvars "" vdir src_dirname srcdir _xm mode xp)" +eval `setvars "" vdir src_dirname srcdir _xm mode xp` err="fail" main() @@ -45,7 +45,7 @@ git_init() { [ -L ".git" ] && return 1 [ -e ".git" ] && return 0 - eval "$(setvars "$(date -Rud @$versiondate)" cdate _nogit)" + eval `setvars "$(date -Rud @$versiondate)" cdate _nogit` git init || return 1 git add -A . || return 1 -- cgit v1.2.1