Date: Tue, 20 Jan 2015 16:22:18 +0000 (UTC) From: Adam Weinberger <adamw@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r377528 - in head/shells/bash-completion: . files Message-ID: <201501201622.t0KGMI71096916@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501201622.t0KGMI71096916>