From a2765bc27c73519acb98bcca05fa03c27eb3afe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aljaz=CC=8C=20=22g5pw=22=20Srebrnic=CC=8C?= Date: Wed, 19 Feb 2014 10:46:10 +0100 Subject: [PATCH] Explicitly typeset arrays --- src/_port | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/_port b/src/_port index c2a7a73..25e0077 100644 --- a/src/_port +++ b/src/_port @@ -20,7 +20,8 @@ _port() { typeset -A opt_args local context state state_descr line - local actions pseudo_common pseudo_advanced select_options port_prefix + local -a revupgrade_options select_options \ + actions pseudo_common pseudo_advanced port_prefix port_prefix=$(which port | sed 's|/bin/port||')