summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2017-07-13 19:42:01 +0200
committerErich Eckner <git@eckner.net>2017-07-14 07:00:40 +0200
commit0f82a9d2ea0d049906148cc6ba1cb2c4ff7d1d86 (patch)
tree46c71a9d8e01885f4086a920a248134b3a4fb5a5
parent7d9a9d98b6551116ea07e16fe3ae27d8a8a43fcd (diff)
downloaddevtools32-0f82a9d2ea0d049906148cc6ba1cb2c4ff7d1d86.tar.xz
makechrootpkg: Use long args for makepkg
Slightly more verbose, but also more understandable.
-rw-r--r--makechrootpkg.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in
index 47caba3..a262a67 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -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
@@ -330,7 +330,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 ;;