From 25771a2ddf2bee46b8b27cee51d95706654c0eeb Mon Sep 17 00:00:00 2001 From: adamw Date: Tue, 25 Oct 2011 23:13:32 +0000 Subject: Fix a // in path which apparently breaks portinstall's ability to parse INDEX. PR: ports/161999 Submitted by: Eugene Paskevich --- shells/bash-completion/Makefile | 2 +- shells/bash-completion/files/patch-contrib_portupgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'shells/bash-completion') diff --git a/shells/bash-completion/Makefile b/shells/bash-completion/Makefile index c3facc12485f..81c8b2af9837 100644 --- a/shells/bash-completion/Makefile +++ b/shells/bash-completion/Makefile @@ -7,7 +7,7 @@ PORTNAME= bash-completion PORTVERSION= 1.3 -PORTREVISION= 2 +PORTREVISION= 3 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 d162d0148381..3ae80c2f6331 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:7:1}" ++ indexfile="$(portsdir)INDEX-${OSTYPE:7:1}" [[ "$prev" == -l || "$prev" == -L || "$prev" == -o ]] && return 0 -- cgit