diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2011-08-01 22:03:35 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2011-08-01 22:03:35 +0000 |
commit | 3d51cfe6f323f990302040e9fef3686eb7d801a6 (patch) | |
tree | 5691616c98579b5f9c755cf26c95d652ff3e8b0a /shells | |
parent | 3560fa9a82df6cbc7ddae874b3a584ea98218a31 (diff) |
Fix completions for portinstall, an indexing error.
PR: ports/152387
Submitted by: Martin GlaC <glaszig@gmail.com>
Notes
Notes:
svn path=/head/; revision=278746
Diffstat (limited to 'shells')
-rw-r--r-- | shells/bash-completion/Makefile | 1 | ||||
-rw-r--r-- | shells/bash-completion/files/patch-contrib_portupgrade | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/shells/bash-completion/Makefile b/shells/bash-completion/Makefile index 7b3f2584e50e..2efd03de6858 100644 --- a/shells/bash-completion/Makefile +++ b/shells/bash-completion/Makefile @@ -7,6 +7,7 @@ PORTNAME= bash-completion PORTVERSION= 1.3 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= shells MASTER_SITES= http://bash-completion.alioth.debian.org/files/ diff --git a/shells/bash-completion/files/patch-contrib_portupgrade b/shells/bash-completion/files/patch-contrib_portupgrade index f03ddce85f7e..d162d0148381 100644 --- a/shells/bash-completion/files/patch-contrib_portupgrade +++ b/shells/bash-completion/files/patch-contrib_portupgrade @@ -9,7 +9,7 @@ - # Then INDEX if INDEX-5 does not exist or system is not FreeBSD 5.x - [[ "${OSTYPE%.*}" == freebsd5 && -f $indexfile ]] || - indexfile=$portsdir/INDEX -+ indexfile="$(portsdir)/INDEX-${OSTYPE:8:1}" ++ indexfile="$(portsdir)/INDEX-${OSTYPE:7:1}" [[ "$prev" == -l || "$prev" == -L || "$prev" == -o ]] && return 0 |