aboutsummaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2011-10-26 22:32:03 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2011-10-26 22:32:03 +0000
commit7844e5467791d6e11fd5c48afbfaa98e36240774 (patch)
tree75d61916f826a9e3e8ee17354cf95155d0cf5741 /shells
parent0263b27d8f044f35a9379e9a0c7ad5d4d81d78f2 (diff)
downloadports-7844e5467791d6e11fd5c48afbfaa98e36240774.tar.gz
ports-7844e5467791d6e11fd5c48afbfaa98e36240774.zip
Fix a variable substitution.
Note that this was the intended fix in PORTREVISION 3, the previous commit, and was the change intended by ports/161999. PR: ports/161999 Submitted by: Eugene Paskevich <eugene@raptor.kiev.ua>
Notes
Notes: svn path=/head/; revision=284392
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 81c8b2af9837..da4d2d48c093 100644
--- a/shells/bash-completion/Makefile
+++ b/shells/bash-completion/Makefile
@@ -7,7 +7,7 @@
PORTNAME= bash-completion
PORTVERSION= 1.3
-PORTREVISION= 3
+PORTREVISION= 4
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 3ae80c2f6331..62f1d9e31c57 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