summaryrefslogtreecommitdiff
path: root/script/trees
diff options
context:
space:
mode:
Diffstat (limited to 'script/trees')
-rwxr-xr-xscript/trees3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/trees b/script/trees
index 8f468d49..698d2b34 100755
--- a/script/trees
+++ b/script/trees
@@ -9,6 +9,8 @@ set -u -e
. "include/lib.sh"
. "include/git.sh"
+XBMKPATH="$PATH"
+
eval `setvars "" xarch srcdir premake cmakedir xlang mode makeargs elfdir cmd \
project target target_dir targets xtree _f release bootstrapargs mkhelper \
autoconfargs listfile autogenargs btype tree rev tree_depend build_depend \
@@ -74,6 +76,7 @@ build_targets()
for x in $targets; do
unset CROSS_COMPILE
+ export PATH="$XBMKPATH"
[ "$x" = "list" ] && x_ ls -1 "config/$project" && \
listfile="" && break
target="$x"