From 89cfa8e6ecb9480f84e0a49a3224631879e407c7 Mon Sep 17 00:00:00 2001 From: Wangzheee <634486483@qq.com> Date: Sun, 23 Aug 2020 21:05:59 +0800 Subject: [PATCH] [LITE][BM] Fixed an error in build_bm.sh that would cause 'exit 1'. test=develop (#4181) --- lite/tools/build_bm.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lite/tools/build_bm.sh b/lite/tools/build_bm.sh index 055f6a35c3..53f62695bc 100755 --- a/lite/tools/build_bm.sh +++ b/lite/tools/build_bm.sh @@ -103,6 +103,9 @@ function main { --target_name=*) TARGET_NAME="${i#*=}" build_bm + shift + ;; + *) # unknown option print_usage exit 1 @@ -110,5 +113,4 @@ function main { esac done } - main $@ -- GitLab