mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-12 14:32:42 +02:00
lbmk: use pwd util, not PWD environmental variable
PWD could be anything, if the user manually exported it before running lbmk. always run pwd instead, to get the real string. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+2
-2
@@ -176,7 +176,7 @@ configure_project()
|
||||
[ -z "$btype" ] || [ "${mode%config}" = "$mode" ] || return 1
|
||||
[ -z "$mode" ] && build_dependencies
|
||||
|
||||
mdir="$PWD/config/submodule/$project"
|
||||
mdir="`pwd`/config/submodule/$project"
|
||||
[ -n "$tree" ] && mdir="$mdir/$tree"
|
||||
[ -f "CHANGELOG" ] || check_project_hashes
|
||||
|
||||
@@ -247,7 +247,7 @@ check_cross_compiler()
|
||||
|
||||
x_ ./mk -f coreboot "${cbdir#src/coreboot/}"
|
||||
|
||||
export PATH="$PWD/$cbdir/util/crossgcc/xgcc/bin:$PATH"
|
||||
export PATH="`pwd`/$cbdir/util/crossgcc/xgcc/bin:$PATH"
|
||||
export CROSS_COMPILE="${xarch% *}-"
|
||||
[ -n "$xlang" ] && export BUILD_LANGUAGES="$xlang"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user