1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

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>
This commit is contained in:
Adam Weinberger 2011-10-26 22:32:03 +00:00
parent 0263b27d8f
commit 7844e54677
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=284392
2 changed files with 2 additions and 2 deletions

View File

@ -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/

View File

@ -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