forked from mirrored-repos/manjaro-tools
[buildpkg] mkchrootpkg only supports one pkg per -I switch
This commit is contained in:
parent
2106c3f7a1
commit
83f8b3e23d
1 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ usage() {
|
|||
echo " -b <branch> Branch [default: ${target_branch}]"
|
||||
echo ' -c Recreate chroot'
|
||||
echo ' -h This help'
|
||||
echo ' -i <pkgs> Install packages into the working copy of the chroot'
|
||||
echo ' -i <pkg> Install a package into the working copy of the chroot'
|
||||
echo ' -n Install and run namcap check'
|
||||
echo " -p <pkg> Build list or pkg [default: ${build_list_pkg}]"
|
||||
echo ' -q Query settings and pretend build'
|
||||
|
@ -109,7 +109,7 @@ while getopts "${opts}" arg; do
|
|||
a) target_arch="$OPTARG" ;;
|
||||
b) target_branch="$OPTARG" ;;
|
||||
c) clean_first=true ;;
|
||||
i) install_pkgs+=("$OPTARG"); mkchrootpkg_args+=(-I ${install_pkgs[*]}) ;;
|
||||
i) install_pkgs+=("$OPTARG"); mkchrootpkg_args+=(-I "$OPTARG") ;;
|
||||
n) namcap=true; mkchrootpkg_args+=(-n) ;;
|
||||
p) build_list_pkg="${OPTARG%/}" ;;
|
||||
q) pretend=true ;;
|
||||
|
|
Loading…
Reference in a new issue