diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-07-11 06:07:48 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-07-11 06:09:34 -0400 |
commit | 4e1d7d8ff281777c53805072978d4718b8532863 (patch) | |
tree | a901c9933bfd7b014186059ce8d54aab973502a8 /IkiWiki/Wrapper.pm | |
parent | 598a8ce1f7827fa18b288a1aee57967a39fcd36a (diff) | |
download | ikiwiki-4e1d7d8ff281777c53805072978d4718b8532863.tar ikiwiki-4e1d7d8ff281777c53805072978d4718b8532863.tar.gz |
fix use ordering
The recent setup revamp exposed some latent bugs in use/package ordering
that caused some symbols to not the exported into the correct scope.
Diffstat (limited to 'IkiWiki/Wrapper.pm')
-rw-r--r-- | IkiWiki/Wrapper.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Wrapper.pm b/IkiWiki/Wrapper.pm index d2cc0a69e..79b9eb3e3 100644 --- a/IkiWiki/Wrapper.pm +++ b/IkiWiki/Wrapper.pm @@ -1,13 +1,13 @@ #!/usr/bin/perl +package IkiWiki; + use warnings; use strict; use Cwd q{abs_path}; use Data::Dumper; use IkiWiki; -package IkiWiki; - sub gen_wrapper () { #{{{ $config{srcdir}=abs_path($config{srcdir}); $config{destdir}=abs_path($config{destdir}); |