From 26cd681802123a99d841cc286c471b4d14d8ea2b Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Thu, 9 Jan 2020 04:11:59 +0800 Subject: [PATCH] Fixed the build tool. --- tools/build.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tools/build.sh b/tools/build.sh index ce1d734..1f0a1c0 100755 --- a/tools/build.sh +++ b/tools/build.sh @@ -86,7 +86,6 @@ main() { case $opt in -b|--baseurl) check_unset $2 - if [[ $2 == \/* ]] then CMD+=" -b $2" @@ -94,7 +93,6 @@ main() { help exit 1 fi - shift shift ;; @@ -116,9 +114,7 @@ main() { done init - build } - -main +main "$@"