diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-29 16:25:41 +0100 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-29 16:25:41 +0100 |
| commit | 01aa95ec15ed5a6e519f1d3887e105a40e17b84c (patch) | |
| tree | b7bfac44fde5ad7f8702b274150551a93b01bc7f /include/init.sh | |
| parent | e54862fcccca0325da8ae2879c1fa965267d3df0 (diff) | |
Revert "lbmk: use mkhtemp in libreboot's build system"
This reverts commit e54862fcccca0325da8ae2879c1fa965267d3df0.
nope. not ready yet. will fix it later.
Diffstat (limited to 'include/init.sh')
| -rw-r--r-- | include/init.sh | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/include/init.sh b/include/init.sh index d2ee4e32..cde489dd 100644 --- a/include/init.sh +++ b/include/init.sh @@ -17,7 +17,6 @@ if [ -z "${PATH+x}" ]; then fi sha512sum="util/sbase/sha512sum" -mkhtemp="util/libreboot-utils/mkhtemp" aur_notice="" basetmp="" @@ -232,9 +231,7 @@ xbmk_parent_check_tmp() { export TMPDIR="$basetmp" - bootstrap_mkhtemp - - xbmklist="`"$mkhtemp" || err "can't make tmplist"`" || \ + xbmklist="`mktemp || err "can't make tmplist"`" || \ err "can't make tmplist" xbmk_parent_check_tmp "$@" x_ rm -f "$xbmklist" @@ -249,7 +246,7 @@ xbmk_parent_check_tmp() done # set up a unified temporary directory, for common deletion later: - export TMPDIR="`x_ "$mkhtemp" -d -t xbmk_XXXXXXXX`" || \ + export TMPDIR="`x_ mktemp -d -t xbmk_XXXXXXXX`" || \ err "can't export TMPDIR" "xbmk_parent_check_tmp" "$@" xbtmp="$TMPDIR" @@ -272,7 +269,7 @@ xbmk_parent_set_export() "xbmk_parent_set_export" "$@" fi - export PATH="$xbmkpwd/util/libreboot-utils:$xbtmp/xbmkpath:$xbtmp/gnupath:$PATH" + export PATH="$xbtmp/xbmkpath:$xbtmp/gnupath:$PATH" xbmkpath="$PATH" # if "y": a coreboot target won't be built if target.cfg says release=n |
