]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
spns #29973: remove env.sh if present
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Tue, 24 May 2022 12:44:48 +0000 (14:44 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Tue, 24 May 2022 12:44:48 +0000 (14:44 +0200)
products/compil_scripts/C3PO.sh

index 5a3a503820591dbe045ff61ee4c672f7916ac7b2..fa02dfab23376ff315db6d7e3d6b211e18280f71 100755 (executable)
@@ -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