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