makechrootpkg: Use long args for makepkg
Slightly more verbose, but also more understandable.
This commit is contained in:
parent
a8f512a665
commit
0cbc179d21
|
@ -16,7 +16,7 @@ m4_include(lib/archroot.sh)
|
||||||
shopt -s nullglob
|
shopt -s nullglob
|
||||||
|
|
||||||
init_variables() {
|
init_variables() {
|
||||||
default_makepkg_args=(-s --noconfirm -L --holdver)
|
default_makepkg_args=(--syncdeps --noconfirm --log --holdver)
|
||||||
makepkg_args=("${default_makepkg_args[@]}")
|
makepkg_args=("${default_makepkg_args[@]}")
|
||||||
repack=false
|
repack=false
|
||||||
update_first=false
|
update_first=false
|
||||||
|
@ -329,7 +329,7 @@ main() {
|
||||||
r) passeddir="$OPTARG" ;;
|
r) passeddir="$OPTARG" ;;
|
||||||
I) install_pkgs+=("$OPTARG") ;;
|
I) install_pkgs+=("$OPTARG") ;;
|
||||||
l) copy="$OPTARG" ;;
|
l) copy="$OPTARG" ;;
|
||||||
n) run_namcap=true; makepkg_args+=(-i) ;;
|
n) run_namcap=true; makepkg_args+=(--install) ;;
|
||||||
T) temp_chroot=true; copy+="-$$" ;;
|
T) temp_chroot=true; copy+="-$$" ;;
|
||||||
U) makepkg_user="$OPTARG" ;;
|
U) makepkg_user="$OPTARG" ;;
|
||||||
h|*) usage ;;
|
h|*) usage ;;
|
||||||
|
|
Loading…
Reference in New Issue