fix unsetting function then var
This commit is contained in:
parent
00d8162e99
commit
bc5eed591f
@ -2,7 +2,7 @@ function g_array {
|
||||
local g_filename=$1
|
||||
local g_arrayname=$2
|
||||
local g_delimeter=$3
|
||||
unset g_array
|
||||
unset -v g_array
|
||||
|
||||
[ -n "$g_delimeter" ] && g_delimeter="-d${g_delimeter}"
|
||||
if [ -f "$g_filename" ]
|
||||
|
Loading…
Reference in New Issue
Block a user