Add array support to the simple generate script (doesn't work with spaces)
This commit is contained in:
parent
e10370bd83
commit
58584018de
@ -12,6 +12,9 @@ sub add_config {
|
||||
if (ref($val) eq 'HASH') {
|
||||
add_config($key . '.', $val);
|
||||
}
|
||||
elsif (ref($val) eq 'ARRAY') {
|
||||
$config{'@' . $prefix . $key . '@'} = join ' ', @{$val};
|
||||
}
|
||||
unless (ref($val)) {
|
||||
$config{'@' . $prefix . $key . '@'} = $val;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user