diff options
Diffstat (limited to 'include')
-rwxr-xr-x | include/lib.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/lib.sh b/include/lib.sh index b41645fb..c2ad87ed 100755 --- a/include/lib.sh +++ b/include/lib.sh @@ -70,7 +70,8 @@ if [ "$tmpdir_was_set" = "y" ]; then [ "${TMPDIR%_*}" = "/tmp/xbmk" ] || tmpdir_was_set="n" fi if [ "$tmpdir_was_set" = "n" ]; then - [ -f "lock" ] && $err "The 'lock' file exists. Is a build running?" + [ -f "lock" ] && \ + $err "$PWD/lock exists. If a build isn't going, delete and re-run." export TMPDIR="/tmp" tmpdir="$(mktemp -d -t xbmk_XXXXXXXX)" export TMPDIR="$tmpdir" |