diff options
author | Leah Rowe <leah@libreboot.org> | 2024-06-25 00:20:06 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-06-25 00:20:06 +0100 |
commit | 1387dc0ae2912e09d092ece9b159f01061b0f521 (patch) | |
tree | 8bec16f1dd4c8eb0ee20062727742509a7e30e6d /include/lib.sh | |
parent | 20ac7ec67ba31315b8cccf0ea70b6fa4a5d0efae (diff) |
simplified lock message
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/lib.sh')
-rwxr-xr-x | include/lib.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/lib.sh b/include/lib.sh index c21a4a1d..85f3ac49 100755 --- a/include/lib.sh +++ b/include/lib.sh @@ -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" |