blob: 63659ce2e03e7147be14063bf13e24278ddab94f (
plain)
- #!/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");
- local $/=undef;
- my $code=<IN>;
- ($code)=$code=~/(.*)/s;
- close IN;
- eval $code;
- error($@) if $@;
- exit;
- } #}}}
- 1
|