mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
lib.sh: more useful lock message
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+2
-1
@@ -70,7 +70,8 @@ if [ "$tmpdir_was_set" = "y" ]; then
|
||||
[ "${TMPDIR%_*}" = "/tmp/xbmk" ] || tmpdir_was_set="n"
|
||||
fi
|
||||
if [ "$tmpdir_was_set" = "n" ]; then
|
||||
[ -f "lock" ] && $err "The 'lock' file exists. Is a build running?"
|
||||
[ -f "lock" ] && \
|
||||
$err "$PWD/lock exists. If a build isn't going, delete and re-run."
|
||||
export TMPDIR="/tmp"
|
||||
tmpdir="$(mktemp -d -t xbmk_XXXXXXXX)"
|
||||
export TMPDIR="$tmpdir"
|
||||
|
||||
Reference in New Issue
Block a user