Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
The ip() pagespec can now contain glob characters to match eg, a subnet full of spammers.
[git.ikiwiki.info.git]
/
IkiWiki
/
Setup
/
Standard.pm
diff --git
a/IkiWiki/Setup/Standard.pm
b/IkiWiki/Setup/Standard.pm
index c8506930475a0c28ead9e613e7cde64d982b6db9..ea7d763bbd26435c9dfb9462e1930f4cf7920b7a 100644
(file)
--- a/
IkiWiki/Setup/Standard.pm
+++ b/
IkiWiki/Setup/Standard.pm
@@
-14,7
+14,10
@@
sub import {
sub gendump ($@) {
my $class=shift;
- "#!/usr/bin/perl",
+ my $thisperl = eval q{use Config; $Config{perlpath}};
+ error($@) if $@;
+
+ "#!$thisperl",
"#",
(map { "# $_" } @_),
"use IkiWiki::Setup::Standard {",