aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknarf <knarf@51d2df92-0e4f-0410-a727-bd43d766d6b6>2011-08-27 04:29:44 +0000
committerknarf <knarf@51d2df92-0e4f-0410-a727-bd43d766d6b6>2011-08-27 04:29:44 +0000
commitd5b99beededc7d7e77dc79e647be9b7ea1ff36a9 (patch)
tree55a7d138c1f39d4123e079d5107858278be5d313
parent6c06a98870d7019c9195b7e733ea41b9d6d1efe0 (diff)
don't use bashism in potential non-bash script (/bin/sh)
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Fortran/trunk@47 51d2df92-0e4f-0410-a727-bd43d766d6b6
-rw-r--r--fortran.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/fortran.sh b/fortran.sh
index f8e2191..8df5ccc 100644
--- a/fortran.sh
+++ b/fortran.sh
@@ -1,6 +1,6 @@
#! /bin/sh
-if [[ "${F77}" = "none" && "${F90}" = "none" ]]; then
+if [ "${F77}" = "none" ] && [ "${F90}" = "none" ]; then
echo 'BEGIN ERROR'
echo "Fortran thorn requires that a Fortran compiler is defined, but F77 = '$F77' and F90 = '$F90'. Aborting."
echo 'END ERROR'