]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Fix path pb.
authorakl <akl@opencascade.com>
Tue, 27 May 2008 14:40:33 +0000 (14:40 +0000)
committerakl <akl@opencascade.com>
Tue, 27 May 2008 14:40:33 +0000 (14:40 +0000)
config_files/checkFortran.sh

index 103c91b5a3f1aae19a1b3cf5e55ef0f3eea36063..f35ed4f422fac6ba2471cc3993ada4f52fe79cd2 100755 (executable)
@@ -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