summaryrefslogtreecommitdiff
path: root/IkiWiki/Setup
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Setup')
-rw-r--r--IkiWiki/Setup/Standard.pm11
1 files changed, 3 insertions, 8 deletions
diff --git a/IkiWiki/Setup/Standard.pm b/IkiWiki/Setup/Standard.pm
index 9c177e497..92e97c4b4 100644
--- a/IkiWiki/Setup/Standard.pm
+++ b/IkiWiki/Setup/Standard.pm
@@ -12,20 +12,15 @@ sub import {
IkiWiki::Setup::merge($_[1]);
}
-sub gendump ($$) {
+sub gendump ($@) {
my $class=shift;
- my $description=shift;
"#!/usr/bin/perl",
- "# $description",
"#",
- "# Passing this to ikiwiki --setup will make ikiwiki generate",
- "# wrappers and build the wiki.",
- "#",
- "# Remember to re-run ikiwiki --setup any time you edit this file.",
+ (map { "# $_" } @_),
"use IkiWiki::Setup::Standard {",
IkiWiki::Setup::commented_dump(\&dumpline),
- "}";
+ "}"
}
sub dumpline ($$$$) {