From 9f0d8269c966340298fec6fe7657252f61be73b3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EB=B0=95=EC=A2=85=ED=98=84/On-Device=20Lab=28SR=29/Staff?= =?utf8?q?=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Fri, 22 Nov 2019 16:33:28 +0900 Subject: [PATCH] [tf2circle-ui-check] Print tf2circle's exitcode (#9128) The current implementation shows the exitcode of the last "echo" command, and thus it always print 0. Signed-off-by: Jonghyun Park --- compiler/tf2circle-ui-check/checkall.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/tf2circle-ui-check/checkall.sh b/compiler/tf2circle-ui-check/checkall.sh index 5150e05..88c8808 100755 --- a/compiler/tf2circle-ui-check/checkall.sh +++ b/compiler/tf2circle-ui-check/checkall.sh @@ -35,10 +35,11 @@ while [[ $# -ne 0 ]]; do echo "---------------------------------------------------------" # Generate circle "${TF2CIRCLE_PATH}" "${INFO_FILE}" "${PB_FILE}" "${NAME}.circle" + EXITCODE=$? echo "---------------------------------------------------------" echo - echo "EXITCODE: $?" + echo "EXITCODE: ${EXITCODE}" echo "Running '${NAME}' - Done" done -- 2.7.4