From 8978c1d959bd016fade8d3db39da50680a7314a5 Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 23 Mar 2006 04:02:19 +0000 Subject: fix oops in %config handling --- IkiWiki/Setup/Standard.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'IkiWiki/Setup') 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(); } -- cgit v1.2.3