summaryrefslogtreecommitdiff
path: root/script/trees
diff options
context:
space:
mode:
Diffstat (limited to 'script/trees')
-rwxr-xr-xscript/trees9
1 files changed, 4 insertions, 5 deletions
diff --git a/script/trees b/script/trees
index 07991199..3397f301 100755
--- a/script/trees
+++ b/script/trees
@@ -166,12 +166,11 @@ configure_project()
[ -n "$tree" ] && mdir="$mdir/$tree"
[ -f "CHANGELOG" ] || check_project_hashes
- if [ "$do_make" != "n" ]; then
- x_ ./mk -f "$project" "$target"
- return 0
+ if [ "$do_make" = "n" ]; then
+ [ -f "CHANGELOG" ] || fetch_${cmd#build_}
+ return 1
fi
- [ -f "CHANGELOG" ] || fetch_${cmd#build_}
- return 1
+ x_ ./mk -f "$project" "$target"
}
build_dependencies()