From: soz Date: Mon, 19 Dec 2022 08:57:10 +0000 (-0500) Subject: add script for linux X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0fcf3080967ea03f78d3ace08f003f08aa1966e6;p=tools%2Fsat_salome.git add script for linux --- diff --git a/products/compil_scripts/sam.sh b/products/compil_scripts/sam.sh new file mode 100755 index 0000000..02c285d --- /dev/null +++ b/products/compil_scripts/sam.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +echo ########################################################################## +echo SAM +echo ########################################################################## + + +cd $SOURCE_DIR + +echo +echo "*** mkdir" $PRODUCT_INSTALL +mkdir -p $PRODUCT_INSTALL +if [ $? -ne 0 ] +then + echo "ERROR on mkdir" + exit 1 +fi + +echo +echo "*** cp -r * " $PRODUCT_INSTALL +cp -r sam $PRODUCT_INSTALL +if [ $? -ne 0 ] +then + echo "ERROR on cp" + exit 2 +fi + +echo +echo "########## END" +