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 48d1603a..3cdd8dd4 100755
--- a/script/trees
+++ b/script/trees
@@ -174,7 +174,7 @@ configure_project()
[ -z "$btype" ] || [ "${mode%config}" = "$mode" ] || return 1
[ -z "$mode" ] && build_dependencies
- mdir="`pwd`/config/submodule/$project"
+ mdir="$xbmkpwd/config/submodule/$project"
[ -n "$tree" ] && mdir="$mdir/$tree"
[ -f "CHANGELOG" ] || check_project_hashes
@@ -245,7 +245,7 @@ check_cross_compiler()
x_ ./mk -f coreboot "${cbdir#src/coreboot/}"
- export PATH="`pwd`/$cbdir/util/crossgcc/xgcc/bin:$PATH"
+ export PATH="$xbmkpwd/$cbdir/util/crossgcc/xgcc/bin:$PATH"
export CROSS_COMPILE="${xarch% *}-"
[ -n "$xlang" ] && export BUILD_LANGUAGES="$xlang"