Explicitly typeset arrays

This commit is contained in:
Aljaž "g5pw" Srebrnič 2014-02-19 10:46:10 +01:00
parent 42aace253f
commit a2765bc27c
1 changed files with 2 additions and 1 deletions

View File

@ -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||')