mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 15:58:50 -05:00
makepkg: allow specifying --pkg multiple times
Make this option additive, so that the following two operations are equivalent: makepkg --pkg foo --pkg bar makepkg --pkg foo,bar
This commit is contained in:
parent
d85c71865e
commit
3f9cf8471f
@ -154,7 +154,7 @@ Options
|
||||
|
||||
*\--pkg <list>*::
|
||||
Only build listed packages from a split package. Multiple packages should
|
||||
be comma separated in the list.
|
||||
be comma separated in the list. This option can be specified multiple times.
|
||||
|
||||
*\--check*::
|
||||
Run the check() function in the PKGBUILD, overriding the setting in
|
||||
|
@ -1998,7 +1998,7 @@ while true; do
|
||||
--nosign) SIGNPKG='n' ;;
|
||||
-o|--nobuild) NOBUILD=1 ;;
|
||||
-p) shift; BUILDFILE=$1 ;;
|
||||
--pkg) shift; IFS=, read -ra PKGLIST <<<"$1" ;;
|
||||
--pkg) shift; IFS=, read -ra p <<<"$1"; PKGLIST+=("${p[@]}"); unset p ;;
|
||||
-r|--rmdeps) RMDEPS=1 ;;
|
||||
-R|--repackage) REPKG=1 ;;
|
||||
--skipchecksums) SKIPCHECKSUMS=1 ;;
|
||||
|
Loading…
Reference in New Issue
Block a user