aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreschnett <eschnett@53307013-940b-43fa-b11d-2c2b05dfe90d>2011-11-10 16:12:45 +0000
committereschnett <eschnett@53307013-940b-43fa-b11d-2c2b05dfe90d>2011-11-10 16:12:45 +0000
commitd39d6a059b78d2e765d1e45d78bbdc65770f4d40 (patch)
treeec76b87a9c03a8c7be6ee6607ddc02257107d978
parent1c84bf0bc6f774db898961fec20e1fabd91399a7 (diff)
Accept BLAS_DIR=BUILD case-independently
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/BLAS/trunk@22 53307013-940b-43fa-b11d-2c2b05dfe90d
-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"