summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/build b/build
index 59bd78d8..1c78f280 100755
--- a/build
+++ b/build
@@ -7,7 +7,7 @@
set -u -e
-if [ "./${0##*/}" != "${0}" ]; then
+if [ "./${0##*/}" != "${0}" ] || [ ! -f "build" ] || [ -L "build" ]; then
printf "You must run this in the lbmk work directory.\n" 1>&2
exit 1
fi