simplified lock message

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit2
Leah Rowe 2024-06-25 00:20:06 +01:00 committed by Leah Rowe
parent 2965d526fd
commit 8c06c62e06
1 changed files with 1 additions and 2 deletions

View File

@ -92,8 +92,7 @@ if [ "$tmpdir_was_set" = "y" ]; then
[ "${TMPDIR%_*}" = "/tmp/xbmk" ] || tmpdir_was_set="n"
fi
if [ "$tmpdir_was_set" = "n" ]; then
[ -f "lock" ] && \
$err "$PWD/lock exists. If a build isn't going, delete and re-run."
[ -f "lock" ] && $err "$PWD/lock exists. Is a build running?"
export TMPDIR="/tmp"
tmpdir="$(mktemp -d -t xbmk_XXXXXXXX)"
export TMPDIR="$tmpdir"