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:
parent
0263b27d8f
commit
7844e54677
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=284392
@ -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/
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user