mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
init.sh: Always create xbmklocal
If we're in a release work directory, TMPDIR is already set, so the local ./tmp won't be created, which would lead to an error. Fix it by creating xbmklocal before checking TMPDIR. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -186,6 +186,8 @@ xbmk_git_init()
|
||||
|
||||
xbmk_create_tmpdir()
|
||||
{
|
||||
x_ mkdir -p "$xbmklocal"
|
||||
|
||||
# unify all temporary files/directories in a single TMPDIR
|
||||
[ -z "${TMPDIR+x}" ] || [ "${TMPDIR%_*}" = "/tmp/xbmk" ] || \
|
||||
unset TMPDIR
|
||||
|
||||
Reference in New Issue
Block a user