Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions f_check
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ nofortran=0
shift 2
compiler="$*"
compiler_bin="$1"
shift
compiler_args="$*"

# f77 is too ambiguous
[ "$compiler" = "f77" ] && compiler=''
[ "$compiler_bin" = "f77" ] && compiler=''

path=`split "$PATH" ':'`

Expand All @@ -50,7 +52,7 @@ if [ -z "$compiler" ]; then
for list in $lists; do
for p in $path; do
if [ -x "$p/$list" ]; then
compiler=$list
compiler="$list $compiler_args"
compiler_bin=$list
break 2
fi
Expand Down
Loading