diff options
Diffstat (limited to 'reproduce')
-rwxr-xr-x | reproduce/software/bash/configure.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/reproduce/software/bash/configure.sh b/reproduce/software/bash/configure.sh index 9c99f65..be9c635 100755 --- a/reproduce/software/bash/configure.sh +++ b/reproduce/software/bash/configure.sh @@ -974,14 +974,15 @@ EOF fi # See if the Fortran compiler works - gfortran_works=0 testprog=$tmpblddir/test-f testsource=$tmpblddir/test.f echo; echo; echo "Checking host Fortran compiler..."; echo " PRINT *, \"... Fortran Compiler works.\"" > $testsource echo " END" >> $testsource - if gfortran $testsource -o$testprog && $testprog; then gfortran_works=1; + if gfortran $testsource -o$testprog && $testprog; then + rm $testsource $testprog else + rm $testsource cat <<EOF ______________________________________________________ |