From 0fcf3080967ea03f78d3ace08f003f08aa1966e6 Mon Sep 17 00:00:00 2001 From: soz Date: Mon, 19 Dec 2022 03:57:10 -0500 Subject: [PATCH] add script for linux --- products/compil_scripts/sam.sh | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 products/compil_scripts/sam.sh 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" + -- 2.39.2