summaryrefslogtreecommitdiff
path: root/include/lib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'include/lib.sh')
-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"