aboutsummaryrefslogtreecommitdiff
path: root/shells/bash-completion
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2011-10-25 23:13:32 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2011-10-25 23:13:32 +0000
commit7093b565e97bb3f31331a34f1f45bc48b173cf92 (patch)
treeff83ea2a6b8e5ecc53c98cc79288cff50f9e76f2 /shells/bash-completion
parentdaceb9be9b001d9beeccbd897d63705e3c0064a2 (diff)
downloadports-7093b565e97bb3f31331a34f1f45bc48b173cf92.tar.gz
ports-7093b565e97bb3f31331a34f1f45bc48b173cf92.zip
Fix a // in path which apparently breaks portinstall's ability to parse
INDEX. PR: ports/161999 Submitted by: Eugene Paskevich <eugene@raptor.kiev.ua>
Notes
Notes: svn path=/head/; revision=284317
Diffstat (limited to 'shells/bash-completion')
-rw-r--r--shells/bash-completion/Makefile2
-rw-r--r--shells/bash-completion/files/patch-contrib_portupgrade2
2 files changed, 2 insertions, 2 deletions
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