summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-01-02 23:52:45 +0000
committerLeah Rowe <leah@libreboot.org>2025-01-02 23:52:45 +0000
commit0cf58c22734b19293f4cbef83add59b031ca1773 (patch)
tree484a35f40cbf8fb400d0901c3cbd3baf22088bff /build
parent8276560cc998e8eb1f935cbbe7551d2fbdc65d39 (diff)
fix lbmk shellcheck errors
There was also a condition in run_make_command that is now an OR, where it was an AND, on script/trees, to fix the use of mixed (and erroneous) OR/AND operators. I'm planning a much more invasive audit than this. These are light fixes, intended for Libreboot 20241206 rev8. 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 033cb433..2fab248b 100755
--- a/build
+++ b/build
@@ -14,7 +14,7 @@ fi
. "include/vendor.sh"
. "include/mrc.sh"
-eval `setvars "" vdir src_dirname srcdir mode xp ser`
+eval "`setvars "" vdir src_dirname srcdir mode xp ser`"
err="fail"
main()
@@ -48,7 +48,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