summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-22 04:06:07 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-22 13:46:20 +0100
commitd4d5d2902c020419057d63c9791804906a6c60dd (patch)
treeb917503650c905f6590d9fedec7ea60023cedc71 /build
parentc1527b6114e94530c50b00ff22ef03ea048e4bd1 (diff)
use backticks on eval commands, not subshells
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'build')
-rwxr-xr-xbuild4
1 files changed, 2 insertions, 2 deletions
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