summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"