diff options
author | eschnett <eschnett@53307013-940b-43fa-b11d-2c2b05dfe90d> | 2011-11-10 16:12:45 +0000 |
---|---|---|
committer | eschnett <eschnett@53307013-940b-43fa-b11d-2c2b05dfe90d> | 2011-11-10 16:12:45 +0000 |
commit | d39d6a059b78d2e765d1e45d78bbdc65770f4d40 (patch) | |
tree | ec76b87a9c03a8c7be6ee6607ddc02257107d978 | |
parent | 1c84bf0bc6f774db898961fec20e1fabd91399a7 (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.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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" |