X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=config_files%2FcheckFortran.sh;h=82b78345ae427a253aedeb9f16bd72e39a658b5e;hb=260bf6b42efe9e30501c4e6e99b013da3fe34f77;hp=d0f661c04e89bbc68312c25dae21b386f34298e4;hpb=d570a60211d49bd35997f5ff9f68db2500c5b680;p=tools%2Finstall.git diff --git a/config_files/checkFortran.sh b/config_files/checkFortran.sh index d0f661c..82b7834 100755 --- 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 -# Copyright : 2002-2007 CEA +# Copyright : 2002-2008 CEA # # This script is the part of the SALOME installation procedure. # @@ -56,7 +56,7 @@ if test -n "$FORT"; then end _ACEOF - $FORT ${DIR}/ftest.f > /dev/null + $FORT -o ${DIR}/ftest.out ${DIR}/ftest.f > /dev/null rm -f ${DIR}/ftest.* exit $? else @@ -66,8 +66,8 @@ fi } 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 @@ -76,7 +76,7 @@ find_libraries(){ } PROCEDURE=$1 -test $# -eq 2 && DIR=$2 +DIR=$2 $PROCEDURE