summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fortran/src/h5fc.in8
1 files changed, 2 insertions, 6 deletions
diff --git a/fortran/src/h5fc.in b/fortran/src/h5fc.in
index d24a0ae..2d7b5b4 100644
--- a/fortran/src/h5fc.in
+++ b/fortran/src/h5fc.in
@@ -233,12 +233,8 @@ for arg in $@ ; do
*) allargs="$allargs $arg"
if [ -s "$arg" ] ; then
ext=`expr "$arg" : '.*\(\..*\)'`
- if [ "$ext" = ".f" -o "$ext" = ".F" -o \
- "$ext" = ".for" -o "$ext" = ".FOR" -o \
- "$ext" = ".ftn" -o "$ext" = ".FTN" -o \
- ["$ext" = ".f[0-9][0-9]"] -o \
- ["$ext" = ".F[0-9][0-9]"] \
- ] ; then
+ if [ "$ext" = ".f" -o "$ext" = ".F" -o "$ext" = ".f90" -o \
+ "$ext" = ".for" -o "$ext" = ".FOR" -o "$ext" = ".F90" ] ; then
do_compile="yes"
compile_args="$compile_args $arg"
fname=`basename $arg $ext`