From 4707c7308480012e508282fc22c537871dfdfc08 Mon Sep 17 00:00:00 2001 From: Scot Breitenfeld Date: Wed, 31 Jan 2024 17:17:36 -0600 Subject: [PATCH] strip path from compiler name --- fortran/examples/testh5fc.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fortran/examples/testh5fc.sh.in b/fortran/examples/testh5fc.sh.in index ae15fc23132..f8f3706a4e7 100644 --- a/fortran/examples/testh5fc.sh.in +++ b/fortran/examples/testh5fc.sh.in @@ -224,7 +224,7 @@ TOOLTEST $appmain_o $applib # HDF5 program that depends on input args. echo "***"Simple Compile and Link in one step with user-supplied arguments. -FCBASE=`grep "FCBASE=" $H5TOOL_BIN` +FCBASE=`grep "FCBASE=" $H5TOOL_BIN | xargs basename` WF="" if grep -qi "xlf" <<< "$FCBASE"; then WF="-WF,"