From: Nabil Ghodbane Date: Thu, 4 Nov 2021 10:22:03 +0000 (+0100) Subject: CO8: use -f instead of -d X-Git-Tag: V9_8_0~54 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b0bccf7033a57cb71733643836f7edde9eb43fe1;p=tools%2Fsat_salome.git CO8: use -f instead of -d --- diff --git a/products/compil_scripts/openturns-1.17.sh b/products/compil_scripts/openturns-1.17.sh index 5aff590..25a22d5 100755 --- a/products/compil_scripts/openturns-1.17.sh +++ b/products/compil_scripts/openturns-1.17.sh @@ -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