Date: Tue, 25 Oct 2011 14:40:52 GMT From: Eugene Paskevich <eugene@raptor.kiev.ua> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/161999: [bash-completion] fails to complete portinstall Message-ID: <201110251440.p9PEeqja023324@red.freebsd.org> Resent-Message-ID: <201110251450.p9PEo7TQ014004@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 161999 >Category: ports >Synopsis: [bash-completion] fails to complete portinstall >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 25 14:50:06 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Eugene Paskevich >Release: irrelevant >Organization: >Environment: irrelevant >Description: Due to a likely typo, portinstall command is unable to parse the port-tree INDEX file. >How-To-Repeat: >Fix: --- portupgrade 2011-10-25 17:38:30.000000000 +0300 +++ portupgrade.proper 2011-10-25 17:39:39.000000000 +0300 @@ -26,7 +26,7 @@ portsdir=${PORTSDIR:-/usr/ports}/ _get_comp_words_by_ref cur prev - indexfile="$(portsdir)/INDEX-${OSTYPE:7:1}" + indexfile="${portsdir}INDEX-${OSTYPE:7:1}" [[ "$prev" == -l || "$prev" == -L || "$prev" == -o ]] && return 0 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110251440.p9PEeqja023324>