[arch-commits] Commit in bash-completion/trunk (PKGBUILD bash-4.3.patch)

Dave Reisner dreisner at archlinux.org
Sun Aug 7 14:26:43 UTC 2016


    Date: Sunday, August 7, 2016 @ 14:26:43
  Author: dreisner
Revision: 273443

upgpkg: bash-completion 2.3-5

- drop bash-4.3.patch (FS#50294)

Modified:
  bash-completion/trunk/PKGBUILD
Deleted:
  bash-completion/trunk/bash-4.3.patch

----------------+
 PKGBUILD       |    5 +----
 bash-4.3.patch |   27 ---------------------------
 2 files changed, 1 insertion(+), 31 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-08-07 14:21:55 UTC (rev 273442)
+++ PKGBUILD	2016-08-07 14:26:43 UTC (rev 273443)
@@ -3,7 +3,7 @@
 
 pkgname=bash-completion
 pkgver=2.3
-pkgrel=4
+pkgrel=5
 pkgdesc="Programmable completion for the bash shell"
 arch=('any')
 url="https://github.com/scop/bash-completion"
@@ -11,15 +11,12 @@
 depends=('bash')
 options=('!emptydirs' '!makeflags')
 source=("https://github.com/scop/bash-completion/releases/download/2.3/bash-completion-2.3.tar.xz"
-        'bash-4.3.patch'
         'mpv-dont-install-symlink.patch')
 sha1sums=('6b42d6747dab48bdc983627e8ce69283ff0e6b79'
-          'd2a01350990c1221bd53d55edf31210c74d02bca'
           '6bee621dc456190d629df108350925982d432bb5')
 
 prepare() {
   cd ${pkgname}-${pkgver}
-  patch -p1 -i ../bash-4.3.patch
   patch -p1 -i ../mpv-dont-install-symlink.patch
 }
 

Deleted: bash-4.3.patch
===================================================================
--- bash-4.3.patch	2016-08-07 14:21:55 UTC (rev 273442)
+++ bash-4.3.patch	2016-08-07 14:26:43 UTC (rev 273443)
@@ -1,27 +0,0 @@
---- a/bash_completion	2014-03-09 17:38:14 +0000
-+++ b/bash_completion	2014-03-13 23:26:44 +0000
-@@ -536,13 +536,23 @@
- # @param $2  Name of variable to return result to
- _quote_readline_by_ref()
- {
--    if [[ $1 == \'* ]]; then
-+    if [ -z "$1" ]; then
-+        # avoid quoting if empty
-+        printf -v $2 %s "$1"
-+    elif [[ $1 == \'* ]]; then
-         # Leave out first character
-         printf -v $2 %s "${1:1}"
-+    elif [[ $1 == ~* ]]; then
-+        # avoid escaping first ~
-+        printf -v $2 ~%q "${1:1}"
-     else
-         printf -v $2 %q "$1"
-     fi
- 
-+    # Replace double escaping ( \\ ) by single ( \ )
-+    # This happens always when argument is already escaped at cmdline,
-+    # and passed to this function as e.g.: file\ with\ spaces
-+    [[ ${!2} == *\\* ]] && printf -v $2 %s "${1//\\\\/\\}"
-     # If result becomes quoted like this: $'string', re-evaluate in order to
-     # drop the additional quoting.  See also: http://www.mail-archive.com/
-     # bash-completion-devel at lists.alioth.debian.org/msg01942.html



More information about the arch-commits mailing list