summaryrefslogtreecommitdiff
path: root/script/trees
diff options
context:
space:
mode:
Diffstat (limited to 'script/trees')
-rwxr-xr-xscript/trees4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/trees b/script/trees
index c468a1db..f1c0acef 100755
--- a/script/trees
+++ b/script/trees
@@ -40,7 +40,7 @@ main()
./update trees $_f "$p" || $err "!./update trees $_f $p"
[ "$XBMK_RELEASE" != "y" ] || singletree "$p" || \
x_ rm -Rf "src/$p/$p"; continue
- done && return 0
+ done && return 1
[ -f "config/git/$project/pkg.cfg" ] || $err "'$project' not defined"
@@ -253,6 +253,6 @@ copy_elf()
done < "$listfile"; x_ make clean -C "$srcdir"
}
-main $@
+main $@ || exit 0
. "$mkhelpercfg"
$cmd