Fixed the build tool.

This commit is contained in:
Cotes Chung 2020-01-09 04:11:59 +08:00
parent 6cef0829a8
commit 26cd681802

View file

@ -86,7 +86,6 @@ main() {
case $opt in case $opt in
-b|--baseurl) -b|--baseurl)
check_unset $2 check_unset $2
if [[ $2 == \/* ]] if [[ $2 == \/* ]]
then then
CMD+=" -b $2" CMD+=" -b $2"
@ -94,7 +93,6 @@ main() {
help help
exit 1 exit 1
fi fi
shift shift
shift shift
;; ;;
@ -116,9 +114,7 @@ main() {
done done
init init
build build
} }
main "$@"
main