diff --git a/f_check b/f_check index d008adf15..0d98ec21f 100755 --- a/f_check +++ b/f_check @@ -100,7 +100,7 @@ else case "$compiler" in *flang*) vendor=FLANG - if ["$compiler" = "flang-new" ]; then + if [`basename "$compiler"` = "flang-new" ]; then vendor=LLVMFLANG fi openmp='-fopenmp' @@ -226,7 +226,7 @@ else ;; *flang*) vendor=FLANG - if ["$compiler" = "flang-new" ]; then + if [`basename "$compiler"` = "flang-new" ]; then vendor=LLVMFLANG fi bu=_