fix oops in %config handling

master
joey 2006-03-23 04:02:19 +00:00
parent e4d9da55d9
commit 8978c1d959
1 changed files with 2 additions and 1 deletions

View File

@ -13,8 +13,9 @@ sub import {
my %setup=%{$_[1]}; my %setup=%{$_[1]};
::debug("generating wrappers.."); ::debug("generating wrappers..");
my %startconfig=(%::config);
foreach my $wrapper (@{$setup{wrappers}}) { foreach my $wrapper (@{$setup{wrappers}}) {
%::config=(%::config, verbose => 0, %setup, %{$wrapper}); %::config=(%startconfig, verbose => 0, %setup, %{$wrapper});
::checkoptions(); ::checkoptions();
::gen_wrapper(); ::gen_wrapper();
} }