From: wchang kim Date: Wed, 9 May 2018 07:33:29 +0000 (+0900) Subject: Adding the check of error. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F93%2F178293%2F1;p=tools%2Ftbb.git Adding the check of error. Change-Id: I94f4f46788df2ab42ea5958d099c48016543309c --- diff --git a/config-sdk/make_extension.sh b/config-sdk/make_extension.sh index e4463b6..49404a4 100755 --- a/config-sdk/make_extension.sh +++ b/config-sdk/make_extension.sh @@ -159,8 +159,25 @@ make_config_file $VERSION $EXT_NAME $SNAPSHOT echo "5. Making rootstrap" ./make_rootstrap.sh -C $CONFIG_FILE -c -t ./rs_tbb +if [ $? != 0 ] +then + echo "Error to make rootstrap!!!!!!" + exit 3 +fi + echo "6. Making pakcage" ./package_rootstrap.sh -C $CONFIG_FILE +if [ $? != 0 ] +then + echo "Error to make package!!!!!!" + exit 4 +fi echo "7. Merging all files" ./package_all.sh $EXT_NAME $VERSION +if [ $? != 0 ] +then + echo "Error to make sdk extension!!!!!!" + exit 5 +fi +