ports/161999: [bash-completion] fails to complete portinstall
Eugene Paskevich
eugene at raptor.kiev.ua
Tue Oct 25 14:50:07 UTC 2011
>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:
More information about the freebsd-ports-bugs
mailing list