aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.sh b/configure.sh
index 587380e..a13d862 100644
--- a/configure.sh
+++ b/configure.sh
@@ -16,7 +16,9 @@ set -e # Abort on errors
# Search
################################################################################
-if [ -z "${LORENE_DIR}" ]; then
+if [ -z "${LORENE_DIR}" \
+ -o "$(echo "${LORENE_DIR}" | tr '[a-z]' '[A-Z]')" = 'NO_BUILD' ]
+then
echo "BEGIN MESSAGE"
echo "LORENE selected, but LORENE_DIR not set."
echo "END MESSAGE"