aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--LAPACK.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/LAPACK.sh b/LAPACK.sh
index 3a1411a..7569ec0 100644
--- a/LAPACK.sh
+++ b/LAPACK.sh
@@ -47,7 +47,9 @@ fi
# Build
################################################################################
-if [ -z "${LAPACK_DIR}" -o "${LAPACK_DIR}" = 'BUILD' ]; then
+if [ -z "${LAPACK_DIR}" \
+ -o "$(echo "${LAPACK_DIR}" | tr '[a-z]' '[A-Z]')" = 'BUILD' ]
+then
echo "BEGIN MESSAGE"
echo "Building LAPACK..."
echo "END MESSAGE"