makechrootpkg: Use long args for makepkg

Slightly more verbose, but also more understandable.
This commit is contained in:
Jan Alexander Steffens (heftig) 2017-07-13 19:42:01 +02:00
parent a8f512a665
commit 0cbc179d21
No known key found for this signature in database
GPG Key ID: A5E9288C4FA415FA
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ m4_include(lib/archroot.sh)
shopt -s nullglob
init_variables() {
default_makepkg_args=(-s --noconfirm -L --holdver)
default_makepkg_args=(--syncdeps --noconfirm --log --holdver)
makepkg_args=("${default_makepkg_args[@]}")
repack=false
update_first=false
@ -329,7 +329,7 @@ main() {
r) passeddir="$OPTARG" ;;
I) install_pkgs+=("$OPTARG") ;;
l) copy="$OPTARG" ;;
n) run_namcap=true; makepkg_args+=(-i) ;;
n) run_namcap=true; makepkg_args+=(--install) ;;
T) temp_chroot=true; copy+="-$$" ;;
U) makepkg_user="$OPTARG" ;;
h|*) usage ;;