From a8b639a056608388598db83cfd7f2eed5b80af9e Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Thu, 7 Jan 2021 15:30:45 +0900 Subject: [PATCH] script: fix wrong exit location Fix wrong exit location. When using same config with previous config, it doesn't build and immediately exit. Change-Id: Idbc58c24fc7bd20863aee2e6d75d2e296a1d26cd Signed-off-by: Jaehoon Chung --- build-amlogic.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-amlogic.sh b/build-amlogic.sh index b700898..6fd8517 100755 --- a/build-amlogic.sh +++ b/build-amlogic.sh @@ -172,8 +172,8 @@ else if [ "z${CHECK_ODROID}" = "z" ]; then echo "There is local .config, but it is differen from ${BOARD}." echo "Please try after removing .config." + exit fi - exit else if [ "z${CHECK_ODROID}" != "z" ]; then echo "There is local .config, but it is differen from ${BOARD}." -- 2.7.4