From 22f72cf3081bdac84fe7d5237b1c55f7b101e3fa Mon Sep 17 00:00:00 2001 From: Anthony Islas Date: Mon, 25 Mar 2024 14:56:23 -0700 Subject: [PATCH] Fix flipped logic on compiler version flags --- compile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compile b/compile index d393dfe36b..e3e2c49b1f 100755 --- a/compile +++ b/compile @@ -410,11 +410,11 @@ else set comp = ( `grep "^SFC" configure.wrf | cut -d"#" -f1 | cut -d"=" -f2-` ) $comp[1] -V >& /dev/null if ( $status == 0 ) then - $comp[1] --version + $comp[1] -V else $comp[1] --version >& /dev/null if ( $status == 0 ) then - $comp[1] -V + $comp[1] --version else echo "Not sure how to figure out the version of this compiler: $comp[1]" endif