From d5b99beededc7d7e77dc79e647be9b7ea1ff36a9 Mon Sep 17 00:00:00 2001 From: knarf Date: Sat, 27 Aug 2011 04:29:44 +0000 Subject: 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 --- fortran.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' -- cgit v1.2.3