summaryrefslogtreecommitdiff
path: root/IkiWiki/Setup
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-23 04:02:19 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-23 04:02:19 +0000
commit8978c1d959bd016fade8d3db39da50680a7314a5 (patch)
treea950155dabda50c00aea3de38a8217f0ea305c04 /IkiWiki/Setup
parente4d9da55d923cdd78cd07959de44edf17a9a5fe5 (diff)
fix oops in %config handling
Diffstat (limited to 'IkiWiki/Setup')
-rw-r--r--IkiWiki/Setup/Standard.pm3
1 files changed, 2 insertions, 1 deletions
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();
}