summaryrefslogtreecommitdiffstats
path: root/config/intel-fflags
diff options
context:
space:
mode:
Diffstat (limited to 'config/intel-fflags')
-rw-r--r--config/intel-fflags2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/intel-fflags b/config/intel-fflags
index 29398d0..0a65f0e 100644
--- a/config/intel-fflags
+++ b/config/intel-fflags
@@ -15,7 +15,7 @@ if test X = "X$f9x_flags_set"; then
f9x_version="`$F9X $FFLAGS -V 2>&1 |grep '^Intel'`"
if test X != "X$f9x_version"; then
f9x_vendor=ifort
- f9x_version="`$F9X $FFLAGS -v 2>&1 |sed 's/Version \([-a-z0-9\.\-]*\).*/\1/'`"
+ f9x_version="`echo $f9x_version |sed 's/.*Version \([-a-z0-9\.\-]*\).*/\1/'`"
echo "compiler '$F9X' is Intel $f9x_vendor-$f9x_version"
# Some version numbers