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/Solaris/Command/_svcadm | 2 +- Completion/Solaris/Command/_svccfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Completion/Solaris/Command') diff --git a/Completion/Solaris/Command/_svcadm b/Completion/Solaris/Command/_svcadm index 347e25e2a..c9826f2eb 100644 --- a/Completion/Solaris/Command/_svcadm +++ b/Completion/Solaris/Command/_svcadm @@ -1,7 +1,7 @@ #compdef svcadm _svcadm() { - local context state line subcmds + local curcontext="$curcontext" state line expl subcmds typeset -A opt_args subcmds=( enable disable restart refresh mark delegate clear milestone ) diff --git a/Completion/Solaris/Command/_svccfg b/Completion/Solaris/Command/_svccfg index 08c5e4bcd..d31682e77 100644 --- a/Completion/Solaris/Command/_svccfg +++ b/Completion/Solaris/Command/_svccfg @@ -14,7 +14,7 @@ _svccfg_properties() { # Get all the property names for the FMRI props=( ${${${(f)"$(svccfg -s $fmri describe)"}:# *}%% *} ) - _multi_parts "$expl[@]" - / props + _multi_parts "$@" - / props } _svccfg() { -- cgit 1.4.1