aboutsummaryrefslogtreecommitdiff
path: root/fortran.sh
diff options
context:
space:
mode:
Diffstat (limited to 'fortran.sh')
-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'