aboutsummaryrefslogtreecommitdiffstats
path: root/shells
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2011-10-26 07:13:32 +0800
committeradamw <adamw@FreeBSD.org>2011-10-26 07:13:32 +0800
commit25771a2ddf2bee46b8b27cee51d95706654c0eeb (patch)
treebc2b13ddb952b0c5eebb4b8fb91d8bdbe1d0ed61 /shells
parentbe49caf5cd8bb44a6d9cc826b934d9a2c5052832 (diff)
downloadfreebsd-ports-gnome-25771a2ddf2bee46b8b27cee51d95706654c0eeb.tar.gz
freebsd-ports-gnome-25771a2ddf2bee46b8b27cee51d95706654c0eeb.tar.zst
freebsd-ports-gnome-25771a2ddf2bee46b8b27cee51d95706654c0eeb.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>
Diffstat (limited to 'shells')
-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