summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-07-11 01:14:28 +0100
committerLeah Rowe <leah@libreboot.org>2024-07-11 01:14:28 +0100
commit090cf7ad541d181385d1b1a80c669af68ff22c8b (patch)
tree512d6e4ad322520bd9361bdc94607a73828cf81c /script
parente37779c11db42104408d6c2985d21da679df9c44 (diff)
trees: fix bad comparison in configure_project()
we used to set cmd only to these values: build_project build_targets however, now we set them to: build_project build_targets $@ the latter cannot be measured reliably, but we were checking whether cmd equalled: build_targets now we instead check that it does not equal: build_project Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script')
-rwxr-xr-xscript/trees2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/trees b/script/trees
index f1c0acef..a260cf24 100755
--- a/script/trees
+++ b/script/trees
@@ -122,7 +122,7 @@ configure_project()
[ -f "$datadir/mkhelper.cfg" ] && eval `setcfg "$datadir/mkhelper.cfg"`
_tcfg="$1/target.cfg"
- while [ -f "$_tcfg" ] || [ "$cmd" = "build_targets" ]; do
+ while [ -f "$_tcfg" ] || [ "$cmd" != "build_project" ]; do
eval `setvars "" rev tree`
printf "Loading %s config: %s\n" "$project" "$_tcfg"