Ports: Pass along any command arguments in package.sh

Commit b3db01e20 broke simple commands without arguments like:

  ./package.sh clean

Now, all available arguments are passed along, even if there are none.
This commit is contained in:
Jelle Raaijmakers 2021-04-25 00:27:58 +02:00 committed by Linus Groh
parent 54f5b1346c
commit 4c26e318a3

View file

@ -398,7 +398,9 @@ parse_arguments() {
else
case "$1" in
fetch|patch|configure|build|install|installdepends|clean|clean_dist|clean_all|uninstall|showproperty)
do_$1 $2
method=$1
shift
do_${method} "$@"
;;
--auto)
do_all $1