Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
web commit by joey
[git.ikiwiki.info.git]
/
IkiWiki
/
Setup.pm
1
#!/usr/bin/perl
2
3
use warnings;
4
use strict;
5
6
package IkiWiki;
7
8
sub setup () { # {{{
9
my $setup=possibly_foolish_untaint($config{setup});
10
delete $config{setup};
11
open (IN, $setup) || error("read $setup: $!\n");
12
my $code;
13
{
14
local $/=undef;
15
$code=<IN>;
16
}
17
($code)=$code=~/(.*)/s;
18
close IN;
19
20
eval $code;
21
error($@) if $@;
22
23
exit;
24
} #}}}
25
26
1