diff --git a/images/macos/provision/core/gcc.sh b/images/macos/provision/core/gcc.sh index 0fe468ffb..a7fa06fd0 100644 --- a/images/macos/provision/core/gcc.sh +++ b/images/macos/provision/core/gcc.sh @@ -8,7 +8,7 @@ for gccVersion in $gccVersions; do done # Delete default gfortran link if it exists https://github.com/actions/runner-images/issues/1280 -gfortranPath=$(which gfortran) +gfortranPath=$(which gfortran) || true if [ $gfortranPath ]; then rm $gfortranPath fi