Salome HOME
projects
/
tools
/
install.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SALOME 6.5.0 preparation: homard 10.3 -> 10.4
[tools/install.git]
/
config_files
/
checkFortran.sh
diff --git
a/config_files/checkFortran.sh
b/config_files/checkFortran.sh
index ebdd67a86c9639541f2bf14f9576fb4377485d96..82b78345ae427a253aedeb9f16bd72e39a658b5e 100755
(executable)
--- a/
config_files/checkFortran.sh
+++ b/
config_files/checkFortran.sh
@@
-6,7
+6,7
@@
# Author : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com)
# Project : SALOME
# Module : Installation Wizard
# Author : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com)
# Project : SALOME
# Module : Installation Wizard
-# Copyright : 2002-200
7
CEA
+# Copyright : 2002-200
8
CEA
#
# This script is the part of the SALOME installation procedure.
#
#
# This script is the part of the SALOME installation procedure.
#
@@
-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
done
if test -n "$FORT"; then
- cat >
con
ftest.f <<_ACEOF
+ cat >
${DIR}/
ftest.f <<_ACEOF
program main
end
_ACEOF
program main
end
_ACEOF
- $FORT
con
ftest.f > /dev/null
- rm -f
con
ftest.*
+ $FORT
-o ${DIR}/ftest.out ${DIR}/
ftest.f > /dev/null
+ rm -f
${DIR}/
ftest.*
exit $?
else
# Fortran compiler was not found
exit $?
else
# Fortran compiler was not found
@@
-66,8
+66,8
@@
fi
}
find_libraries(){
}
find_libraries(){
- source ${
INST_
DIR}/env_products.sh
- ldd ${
INST_
DIR}/*/lib/salome/*.so | grep not
+ source ${DIR}/env_products.sh
+ ldd ${DIR}/*/lib/salome/*.so | grep not
if test $? -eq 0; then
exit 1
else
if test $? -eq 0; then
exit 1
else
@@
-76,7
+76,7
@@
find_libraries(){
}
PROCEDURE=$1
}
PROCEDURE=$1
-
test $# -eq 2 && INST_
DIR=$2
+DIR=$2
$PROCEDURE
$PROCEDURE