mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:17:35 +00: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
|
else
|
||||||
case "$1" in
|
case "$1" in
|
||||||
fetch|patch|configure|build|install|installdepends|clean|clean_dist|clean_all|uninstall|showproperty)
|
fetch|patch|configure|build|install|installdepends|clean|clean_dist|clean_all|uninstall|showproperty)
|
||||||
do_$1 $2
|
method=$1
|
||||||
|
shift
|
||||||
|
do_${method} "$@"
|
||||||
;;
|
;;
|
||||||
--auto)
|
--auto)
|
||||||
do_all $1
|
do_all $1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue