simplified lock message

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit6
Leah Rowe 2024-06-25 00:20:06 +01:00
parent 20ac7ec67b
commit 1387dc0ae2
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"