diff --git a/build b/build index 3ad6bbd..e0dbff7 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 cbmk work directory.\n" 1>&2 exit 1 fi