From 1022abf69914f77dbcb360d885cae4c22ea3a223 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 11 Apr 2025 19:22:23 +0100 Subject: move XBMKPATH to include/lib.sh Signed-off-by: Leah Rowe --- script/trees | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'script/trees') diff --git a/script/trees b/script/trees index 8e53949b..48d1603a 100755 --- a/script/trees +++ b/script/trees @@ -9,8 +9,6 @@ set -u -e . "include/lib.sh" . "include/git.sh" -XBMKPATH="$PATH" - eval "`setvars "" xarch srcdir premake gnatdir 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 \ @@ -111,7 +109,7 @@ build_targets() for x in $targets; do unset CROSS_COMPILE - export PATH="$XBMKPATH" + export PATH="$xbmkpath" [ "$x" = "list" ] && x_ ls -1 "config/$project" && \ listfile="" && break target="$x" -- cgit v1.2.1