aboutsummaryrefslogtreecommitdiff
path: root/reproduce/software/bash
diff options
context:
space:
mode:
Diffstat (limited to 'reproduce/software/bash')
-rwxr-xr-xreproduce/software/bash/configure.sh5
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
______________________________________________________