X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/6c8cf5dd571662f981227489f7c4652a1a1f10cd..1e0c6758c1626e2831c41ff4845520e4fb72fac6:/IkiWiki/Setup.pm diff --git a/IkiWiki/Setup.pm b/IkiWiki/Setup.pm index 63659ce2e..9f210dec8 100644 --- a/IkiWiki/Setup.pm +++ b/IkiWiki/Setup.pm @@ -2,6 +2,7 @@ use warnings; use strict; +use IkiWiki; package IkiWiki; @@ -9,13 +10,17 @@ sub setup () { # {{{ my $setup=possibly_foolish_untaint($config{setup}); delete $config{setup}; open (IN, $setup) || error("read $setup: $!\n"); - local $/=undef; - my $code=; + my $code; + { + local $/=undef; + $code=; + } ($code)=$code=~/(.*)/s; close IN; eval $code; error($@) if $@; + exit; } #}}}