diff options
author | adamw <adamw@FreeBSD.org> | 2011-10-27 06:32:03 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2011-10-27 06:32:03 +0800 |
commit | 3029c77e038fa2abe06e516ceb868ab55d7a753a (patch) | |
tree | b4a843ab53f21ad7db08ca0d9582fd7aa8823bff /shells | |
parent | 1037689275350c9e2fbf06bb785654a0be748e46 (diff) | |
download | freebsd-ports-gnome-3029c77e038fa2abe06e516ceb868ab55d7a753a.tar.gz freebsd-ports-gnome-3029c77e038fa2abe06e516ceb868ab55d7a753a.tar.zst freebsd-ports-gnome-3029c77e038fa2abe06e516ceb868ab55d7a753a.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>
Diffstat (limited to 'shells')
-rw-r--r-- | shells/bash-completion/Makefile | 2 | ||||
-rw-r--r-- | shells/bash-completion/files/patch-contrib_portupgrade | 2 |
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 |