From 78afb218b0b2603db227667b616578bfe927518c Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Wed, 26 Apr 2017 16:32:10 +0200 Subject: 40965: fix for missing local declarations of expl --- Completion/BSD/Command/_portmaster | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/BSD') diff --git a/Completion/BSD/Command/_portmaster b/Completion/BSD/Command/_portmaster index 4c16e2d1b..48390c9ad 100644 --- a/Completion/BSD/Command/_portmaster +++ b/Completion/BSD/Command/_portmaster @@ -5,7 +5,7 @@ _portmaster_pkgs() { } _portmaster_ports() { - local ret=1 _fbsd_ports _fbsd_cat + local expl ret=1 _fbsd_ports _fbsd_cat _fbsd_cat=(${PORTSDIR:-/usr/ports}/[a-z]*(/:t)) if [[ $PREFIX != */* ]] ; then _wanted cat_packages expl 'category/ports' compadd -S '/' $_fbsd_cat -- cgit 1.4.1