From fcda2a2e3ec68ba3f54a4c9e8113d666a6639d2f Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Tue, 24 May 2022 14:44:48 +0200 Subject: [PATCH] spns #29973: remove env.sh if present --- products/compil_scripts/C3PO.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.39.2