diff options
author | knarf <knarf@51d2df92-0e4f-0410-a727-bd43d766d6b6> | 2011-08-27 04:29:44 +0000 |
---|---|---|
committer | knarf <knarf@51d2df92-0e4f-0410-a727-bd43d766d6b6> | 2011-08-27 04:29:44 +0000 |
commit | d5b99beededc7d7e77dc79e647be9b7ea1ff36a9 (patch) | |
tree | 55a7d138c1f39d4123e079d5107858278be5d313 | |
parent | 6c06a98870d7019c9195b7e733ea41b9d6d1efe0 (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.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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' |