blob: 40ed788624a16ba5f38413e74be6802f7fb1ad5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/usr/bin/perl
use warnings;
use strict;
package IkiWiki;
sub setup () { # {{{
my $setup=possibly_foolish_untaint($config{setup});
delete $config{setup};
open (IN, $setup) || error("read $setup: $!\n");
my $code;
{
local $/=undef;
$code=<IN>;
}
($code)=$code=~/(.*)/s;
close IN;
eval $code;
error($@) if $@;
exit;
} #}}}
1
|