From: joey Date: Thu, 23 Mar 2006 04:02:19 +0000 (+0000) Subject: fix oops in %config handling X-Git-Tag: 1.0~272 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8978c1d959bd016fade8d3db39da50680a7314a5;p=ikiwiki.git fix oops in %config handling --- diff --git a/IkiWiki/Setup/Standard.pm b/IkiWiki/Setup/Standard.pm index 76213b11a..da712e94a 100644 --- a/IkiWiki/Setup/Standard.pm +++ b/IkiWiki/Setup/Standard.pm @@ -13,8 +13,9 @@ sub import { my %setup=%{$_[1]}; ::debug("generating wrappers.."); + my %startconfig=(%::config); foreach my $wrapper (@{$setup{wrappers}}) { - %::config=(%::config, verbose => 0, %setup, %{$wrapper}); + %::config=(%startconfig, verbose => 0, %setup, %{$wrapper}); ::checkoptions(); ::gen_wrapper(); }