From 980a1033e9ef2bffa9b1bf90708528e7e9e8d26f Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 3 May 2025 07:04:34 +0100 Subject: 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 --- include/init.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/init.sh') diff --git a/include/init.sh b/include/init.sh index a5180d07..c4650576 100644 --- a/include/init.sh +++ b/include/init.sh @@ -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 -- cgit v1.2.1