[macOS] always return True on gfortran check (#6133)

This commit is contained in:
Mikhail Koliada
2022-08-23 18:43:19 +02:00
committed by GitHub
parent 4de27cdee1
commit af3dd14fe0

View File

@@ -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