svn commit: r377528 - in head/shells/bash-completion: . files
Adam Weinberger
adamw at FreeBSD.org
Tue Jan 20 16:22:18 UTC 2015
Author: adamw
Date: Tue Jan 20 16:22:17 2015
New Revision: 377528
URL: https://svnweb.freebsd.org/changeset/ports/377528
QAT: https://qat.redports.org/buildarchive/r377528/
Log:
Add a patch to fix tab on an empty line producing:
$ bash: words: bad array subscript
PR: 196713
Submitted by: gnudalf at yandex.com
Obtained from: upstream bug #1289597
Added:
head/shells/bash-completion/files/patch-bash__completion (contents, props changed)
Modified:
head/shells/bash-completion/Makefile
Modified: head/shells/bash-completion/Makefile
==============================================================================
--- head/shells/bash-completion/Makefile Tue Jan 20 16:15:30 2015 (r377527)
+++ head/shells/bash-completion/Makefile Tue Jan 20 16:22:17 2015 (r377528)
@@ -3,7 +3,7 @@
PORTNAME= bash-completion
PORTVERSION= 2.1
-PORTREVISION= 3
+PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= shells
MASTER_SITES= http://bash-completion.alioth.debian.org/files/
Added: head/shells/bash-completion/files/patch-bash__completion
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/shells/bash-completion/files/patch-bash__completion Tue Jan 20 16:22:17 2015 (r377528)
@@ -0,0 +1,11 @@
+--- bash_completion.orig 2015-01-20 16:17:24 UTC
++++ bash_completion
+@@ -707,7 +707,7 @@ _init_completion()
+ fi
+ done
+
+- [[ $cword -eq 0 ]] && return 1
++ [[ $cword -le 0 ]] && return 1
+ prev=${words[cword-1]}
+
+ [[ ${split-} ]] && _split_longopt && split=true
More information about the svn-ports-all
mailing list