mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
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:
parent
54f5b1346c
commit
4c26e318a3
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue