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