summaryrefslogtreecommitdiff
path: root/IkiWiki/Setup
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Setup')
-rw-r--r--IkiWiki/Setup/Standard.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/IkiWiki/Setup/Standard.pm b/IkiWiki/Setup/Standard.pm
index 68f43b408..76213b11a 100644
--- a/IkiWiki/Setup/Standard.pm
+++ b/IkiWiki/Setup/Standard.pm
@@ -14,7 +14,9 @@ sub import {
::debug("generating wrappers..");
foreach my $wrapper (@{$setup{wrappers}}) {
- ::gen_wrapper(%::config, verbose => 0, %setup, %{$wrapper});
+ %::config=(%::config, verbose => 0, %setup, %{$wrapper});
+ ::checkoptions();
+ ::gen_wrapper();
}
::debug("rebuilding wiki..");
@@ -23,6 +25,7 @@ sub import {
if defined $setup{$c} && ! ref $setup{$c};
}
$::config{rebuild}=1;
+ ::checkoptions();
::refresh();
::debug("done");