From: Nabil Ghodbane Date: Tue, 24 May 2022 12:44:48 +0000 (+0200) Subject: spns #29973: remove env.sh if present X-Git-Tag: V9_9_0~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fcda2a2e3ec68ba3f54a4c9e8113d666a6639d2f;p=tools%2Fsat_salome.git spns #29973: remove env.sh if present --- diff --git a/products/compil_scripts/C3PO.sh b/products/compil_scripts/C3PO.sh index 5a3a503..fa02dfa 100755 --- a/products/compil_scripts/C3PO.sh +++ b/products/compil_scripts/C3PO.sh @@ -9,6 +9,12 @@ mkdir $BUILD_DIR cd $BUILD_DIR cp -r $SOURCE_DIR/* . +# spns #29973 +for X in env.sh runAllTests.sh; do + echo "INFO: remove $X if present..." + find . -name $X |xargs rm -f +done + mkdir -p $PRODUCT_INSTALL/lib/python${PYTHON_VERSION:0:3}/site-packages export PATH=${PRODUCT_INSTALL}/bin:$PATH export PYTHONPATH=$PWD:$PYTHONPATH @@ -45,7 +51,7 @@ fi if [ $? -ne 0 ] then echo "ERROR on ctest" - exit 4 + exit 5 fi echo