summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rwxr-xr-xscript/trees2
1 files changed, 2 insertions, 0 deletions
diff --git a/script/trees b/script/trees
index db5f52b6..a7e53a69 100755
--- a/script/trees
+++ b/script/trees
@@ -118,6 +118,7 @@ configure_project()
{
eval `setvars "" xarch xlang build_depend autoconfargs xtree postmake \
tree_depend makeargs btype mkhelper bootstrapargs premake release`
+
[ -f "$1/target.cfg" ] || btype="auto"
[ -f "$datadir/mkhelper.cfg" ] && eval `setcfg "$datadir/mkhelper.cfg"`
@@ -143,6 +144,7 @@ configure_project()
[ "$mode" = "fetch" ] || x_ ./update trees -f "$project" $target
[ "$mode" = "fetch" ] || return 0
+
[ -f "CHANGELOG" ] && return 1; fetch_${cmd#build_}; return 1
}