diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2011-10-26 22:32:03 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2011-10-26 22:32:03 +0000 |
commit | 7844e5467791d6e11fd5c48afbfaa98e36240774 (patch) | |
tree | 75d61916f826a9e3e8ee17354cf95155d0cf5741 /shells/bash-completion/files | |
parent | Blitz is a PHP templating engine with two main features: (diff) |
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/bash-completion/files')
-rw-r--r-- | shells/bash-completion/files/patch-contrib_portupgrade | 2 |
1 files changed, 1 insertions, 1 deletions
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 |