scripts: improve print message of build_all.sh [1/1]
PD#SWPL-67525
Problem:
improve print message of build_all.sh
Solution:
improve print message of build_all.sh
Verify:
ad401_a113l
Change-Id: I4fb06d87466c8b9ff1c8d4e3d4de107ba36d47be
Signed-off-by: Kelvin Zhang <kelvin.zhang@amlogic.com>
diff --git a/build_all.sh b/build_all.sh
index eaa2f87..3629d28 100755
--- a/build_all.sh
+++ b/build_all.sh
@@ -53,8 +53,8 @@
make >> $BUILD_LOG 2>&1
[ "$?" -ne 0 ] && echo "failed!" && cat $BUILD_LOG && touch $LAST_BUILD_FAILURE && echo -e "\nAborted with errors!\n" && return 3
grep -qr "warning: " $BUILD_LOG
- [ "$?" -eq 0 ] && cat $BUILD_LOG && touch $LAST_BUILD_FAILURE && echo -e "\nAborted with warnings!\n" && return 1
- echo "OK."
+ [ "$?" -eq 0 ] && echo "with warnings!" && cat $BUILD_LOG && touch $LAST_BUILD_FAILURE && echo -e "\nAborted with warnings!\n" && return 1
+ echo "OK"
rm -f $LAST_BUILD_FAILURE
if [[ "$SUBMIT_TYPE" == "daily" ]]; then
if [[ "$ARCH" == "arm64" ]] && [[ "$PRODUCT" == "speaker" ]]; then