Adding the check of error. 93/178293/1
authorwchang kim <wchang.kim@samsung.com>
Wed, 9 May 2018 07:33:29 +0000 (16:33 +0900)
committerwchang kim <wchang.kim@samsung.com>
Wed, 9 May 2018 07:33:29 +0000 (16:33 +0900)
Change-Id: I94f4f46788df2ab42ea5958d099c48016543309c

config-sdk/make_extension.sh

index e4463b6..49404a4 100755 (executable)
@@ -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
+