Skip to content

Commit 32e8aef

Browse files
committed
Fixed the build tool.
1 parent 08e19af commit 32e8aef

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

tools/build.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,13 @@ main() {
8686
case $opt in
8787
-b|--baseurl)
8888
check_unset $2
89-
9089
if [[ $2 == \/* ]]
9190
then
9291
CMD+=" -b $2"
9392
else
9493
help
9594
exit 1
9695
fi
97-
9896
shift
9997
shift
10098
;;
@@ -116,9 +114,7 @@ main() {
116114
done
117115

118116
init
119-
120117
build
121118
}
122119

123-
124-
main
120+
main "$@"

0 commit comments

Comments
 (0)