summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-25 00:20:06 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-25 00:20:06 +0100
commit1387dc0ae2912e09d092ece9b159f01061b0f521 (patch)
tree8bec16f1dd4c8eb0ee20062727742509a7e30e6d
parent20ac7ec67ba31315b8cccf0ea70b6fa4a5d0efae (diff)
simplified lock message
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xinclude/lib.sh3
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"