From: Jaehoon Chung Date: Thu, 7 Jan 2021 06:30:45 +0000 (+0900) Subject: script: fix wrong exit location X-Git-Tag: accepted/tizen/unified/20210108.125918~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a8b639a056608388598db83cfd7f2eed5b80af9e;p=platform%2Fkernel%2Flinux-amlogic.git 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 --- 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}."