Salome HOME
projects
/
tools
/
install.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f0cbe7
)
Correct path for creating test file.
author
akl
<akl@opencascade.com>
Mon, 27 Aug 2007 13:51:47 +0000
(13:51 +0000)
committer
akl
<akl@opencascade.com>
Mon, 27 Aug 2007 13:51:47 +0000
(13:51 +0000)
config_files/checkFortran.sh
patch
|
blob
|
history
diff --git
a/config_files/checkFortran.sh
b/config_files/checkFortran.sh
index ebdd67a86c9639541f2bf14f9576fb4377485d96..d0f661c04e89bbc68312c25dae21b386f34298e4 100755
(executable)
--- a/
config_files/checkFortran.sh
+++ b/
config_files/checkFortran.sh
@@
-51,13
+51,13
@@
for prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fo
done
if test -n "$FORT"; then
- cat >
con
ftest.f <<_ACEOF
+ cat >
${DIR}/
ftest.f <<_ACEOF
program main
end
_ACEOF
- $FORT
con
ftest.f > /dev/null
- rm -f
con
ftest.*
+ $FORT
${DIR}/
ftest.f > /dev/null
+ rm -f
${DIR}/
ftest.*
exit $?
else
# Fortran compiler was not found
@@
-76,7
+76,7
@@
find_libraries(){
}
PROCEDURE=$1
-test $# -eq 2 &&
INST_
DIR=$2
+test $# -eq 2 && DIR=$2
$PROCEDURE