summaryrefslogtreecommitdiff
path: root/shells/bash-completion/files
diff options
context:
space:
mode:
Diffstat (limited to 'shells/bash-completion/files')
-rw-r--r--shells/bash-completion/files/patch-contrib_portupgrade2
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