We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2580a99 commit ab38810Copy full SHA for ab38810
tools/gfortran_utils.sh
@@ -18,7 +18,7 @@
18
19
function check_gfortran {
20
# Check that gfortran exists on the path
21
- if [[ -v FC && -e "$FC" ]]; then
+ if [[ -n "$FC" && -e "$FC" ]]; then
22
echo using gfortran from FC
23
echo $FC --version
24
elif [ -z "$(which gfortran)" ]; then
0 commit comments