]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
CO8: use -f instead of -d
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Thu, 4 Nov 2021 10:22:03 +0000 (11:22 +0100)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Thu, 4 Nov 2021 10:22:03 +0000 (11:22 +0100)
products/compil_scripts/openturns-1.17.sh

index 5aff59050a468c03f590055ca8ec2f7877efaaf0..25a22d51f5be15b0bd0b07036306b05aea127c34 100755 (executable)
@@ -63,7 +63,7 @@ if [ -n "$LAPACK_ROOT_DIR" ] && [ "${LAPACK_ROOT_DIR}" != "/" ]; then
     CMAKE_OPTIONS+=" -DBLAS_LIBRARIES=$LAPACK_ROOT_DIR/lib/libblas.so"
 fi
 
-if [[ $DIST_NAME == "CO" && $DIST_VERSION == "8" && $APPLICATION_NAME =~ native && -d /usr/lib64/libcblas.so && -d /usr/lib64/libblas.so ]]; then
+if [[ $DIST_NAME == "CO" && $DIST_VERSION == "8" && $APPLICATION_NAME =~ native && -f /usr/lib64/libcblas.so && -f /usr/lib64/libblas.so ]]; then
     CMAKE_OPTIONS+=" -DCBLAS_LIBRARIES=/usr/lib64/libcblas.so"
     CMAKE_OPTIONS+=" -DBLAS_LIBRARIES=/usr/lib64/libblas.so"
 fi