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 "$@"