1
0
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:
Dave Reisner 2012-04-08 13:26:41 -04:00 committed by Dan McGee
parent d85c71865e
commit 3f9cf8471f
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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 ;;