Index: /BOL/script_install/install_lmdz.sh
===================================================================
--- /BOL/script_install/install_lmdz.sh	(revision 4268)
+++ /BOL/script_install/install_lmdz.sh	(revision 4269)
@@ -84,5 +84,5 @@
 pcmac=0 # default: not on a Mac
 compiler=gfortran
-if [ `gfortran --version | head -1 | awk ' { print $NF } ' | cut -d. -f1` -ge 11 ] ; then allow_arg_mismatch="-fallow-argument-mismatch" ; fi
+if [ `gfortran -dumpversion | cut -d. -f1` -ge 11 ] ; then allow_arg_mismatch="-fallow-argument-mismatch" ; fi
 SCM=0
 # surface/vegetation scheme treatment
