From owner-svn-ports-head@FreeBSD.ORG Tue Jan 20 16:22:18 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B8A1C39B; Tue, 20 Jan 2015 16:22:18 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A4A637AA; Tue, 20 Jan 2015 16:22:18 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t0KGMIGa096918; Tue, 20 Jan 2015 16:22:18 GMT (envelope-from adamw@FreeBSD.org) Received: (from adamw@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t0KGMI71096916; Tue, 20 Jan 2015 16:22:18 GMT (envelope-from adamw@FreeBSD.org) Message-Id: <201501201622.t0KGMI71096916@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: adamw set sender to adamw@FreeBSD.org using -f From: Adam Weinberger Date: Tue, 20 Jan 2015 16:22:18 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2015 16:22:18 -0000 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