Skip to content

Commit 0091963

Browse files
committed
fix gfortran compiler detection (issue 305)
There was a typo in the check for the compiled fortran binary that made the check fail every time.
1 parent 39421c4 commit 0091963

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prerequisites/install-functions/find_or_install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ find_or_install()
266266
info "$this_script: Checking whether $executable in PATH is version $(./build.sh -V gcc) or later..."
267267
$executable -o acceptable_compiler acceptable_compiler.f90 || true;
268268
$executable -o print_true print_true.f90 || true;
269-
if [[ -f ./accepatable_compiler && -f ./print_true ]]; then
269+
if [[ -f ./acceptable_compiler && -f ./print_true ]]; then
270270
is_true=$(./print_true)
271271
acceptable=$(./acceptable_compiler)
272272
rm acceptable_compiler print_true

0 commit comments

Comments
 (0)