summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();
}