diff options
author | Alad Wenter | 2018-01-27 14:01:44 +0100 |
---|---|---|
committer | Alad Wenter | 2018-01-27 14:03:43 +0100 |
commit | bdcee8c8ee84daf6c20fef54c0497753c5a549b7 (patch) | |
tree | 0179e61247eb5cf46d373d9bdbfcdd5fc47b2fbf /0002-aursync-make-L-optional-281.patch | |
parent | aba33ead1b5587cfc1cb9f609b6f9047961edc83 (diff) | |
download | aur-bdcee8c8ee84daf6c20fef54c0497753c5a549b7.tar.gz |
rebase patches
Diffstat (limited to '0002-aursync-make-L-optional-281.patch')
-rw-r--r-- | 0002-aursync-make-L-optional-281.patch | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/0002-aursync-make-L-optional-281.patch b/0002-aursync-make-L-optional-281.patch new file mode 100644 index 000000000000..9fbdeb9e88e2 --- /dev/null +++ b/0002-aursync-make-L-optional-281.patch @@ -0,0 +1,70 @@ +From 43ee1e5f814886b3f04bf899205ef2c2c03aba02 Mon Sep 17 00:00:00 2001 +From: Alad Wenter <alad@mailbox.org> +Date: Sat, 27 Jan 2018 03:21:37 +0100 +Subject: [PATCH 2/3] aursync: make -L optional (#281) + +--- + bin/aursync | 7 ++++--- + man1/aursync.1 | 7 ++++++- + 2 files changed, 10 insertions(+), 4 deletions(-) + +diff --git a/bin/aursync b/bin/aursync +index fdf485d..1a96c0d 100755 +--- a/bin/aursync ++++ b/bin/aursync +@@ -58,9 +58,9 @@ if getopt -T || (($? != 4)); then + exit 22 + fi + +-longopts=allan,bind:,chroot,container:,force,help,ignore:,no-confirm,no-ver,no-view,print,rmdeps,sign,tar,temp,repo:,root:,update ++longopts=allan,bind:,chroot,container:,force,help,ignore:,no-confirm,no-ver,no-view,print,rmdeps,sign,tar,temp,repo:,root:,update,log + +-if TEMP=$(getopt -o B:cC:fhnprstTu -l "$longopts" -n "$argv0" -- "$@"); then ++if TEMP=$(getopt -o B:cC:fhLnprstTu -l "$longopts" -n "$argv0" -- "$@"); then + eval set -- "$TEMP" + else + usage +@@ -78,6 +78,7 @@ while true; do + -f|--force) local_args+=(-f); shift ;; + -n|--no-confirm) local_args+=(--noconfirm); shift ;; + -r|--rmdeps) local_args+=(-r); shift ;; ++ -L|--log) local_args+=(-L); shift ;; + -p|--print) printonly=1; shift ;; + -t|--tar) snapshot=1; shift ;; + -u|--update) update=1; shift ;; +@@ -103,7 +104,7 @@ fi + if ((chroot)); then + makepkg_args=(-cnu "${chroot_args[@]}") + else +- makepkg_args=(-Lcs "${local_args[@]}") ++ makepkg_args=(-cs "${local_args[@]}") + fi + + if ! (($# + update)); then +diff --git a/man1/aursync.1 b/man1/aursync.1 +index 5569c36..834afd7 100644 +--- a/man1/aursync.1 ++++ b/man1/aursync.1 +@@ -78,13 +78,18 @@ value of the configured repository. + .RE + + .SS makepkg +-The default set of options is \fImakepkg -Lcrs\fR. ++The default set of options is \fImakepkg -cs\fR. + + .B \-f, --force + .RS + Overwrite built packages. (\fImakepkg -f\fR) + .RE + ++.B \-L, --log ++.RS ++Enable logging to a text file in the build directory. (\fImakepkg -L\fR) ++.RE ++ + .B \-n, --no-confirm + .RS + Do not wait for user input. (\fImakepkg --noconfirm\fR) +-- +2.16.1 + |