From: Nabil Ghodbane Date: Wed, 12 Apr 2023 09:14:32 +0000 (+0200) Subject: spns #34285: openturns - use symbolic link and use rm instead of rmdir X-Git-Tag: V9_11_0~58 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fspns%2F34285;p=tools%2Fsat_salome.git spns #34285: openturns - use symbolic link and use rm instead of rmdir --- diff --git a/products/compil_scripts/openturns-1.20.1.sh b/products/compil_scripts/openturns-1.20.1.sh index 4e96090..e9bd988 100755 --- a/products/compil_scripts/openturns-1.20.1.sh +++ b/products/compil_scripts/openturns-1.20.1.sh @@ -159,19 +159,17 @@ fi if [ -d "${PRODUCT_INSTALL}/lib64" ]; then echo "WARNING: moving lib64 to lib" mv ${PRODUCT_INSTALL}/lib64/* ${PRODUCT_INSTALL}/lib/ - rmdir ${PRODUCT_INSTALL}/lib64 + rm -rf ${PRODUCT_INSTALL}/lib64 elif [ -d "${PRODUCT_INSTALL}/local/lib64" ]; then echo "WARNING: moving local/lib64 to lib" mv ${PRODUCT_INSTALL}/local/lib64/* ${PRODUCT_INSTALL}/lib/ - rmdir ${PRODUCT_INSTALL}/local/lib64 + rm -rf ${PRODUCT_INSTALL}/local/lib64 fi if [[ -d "${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/dist-packages" ]]; then echo "WARNING: renaming ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/dist-packages as ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION}/site-packages" cd ${PRODUCT_INSTALL}/lib/python${PYTHON_VERSION} - ls -l - mv dist-packages site-packages - ls -l + ln -sf dist-packages site-packages cd $BUILD_DIR/openturns fi