diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-03-19 15:49:00 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-03-19 15:49:00 -0400 |
commit | 6eb3cf7e76c53b05154bb2104e395922bd0eed4e (patch) | |
tree | 64a45745b52b47fcd3245ca24432be0ac2281de9 /IkiWiki | |
parent | d7f1292c3134fd9464ca4005f48b9274be861c10 (diff) | |
download | ikiwiki-6eb3cf7e76c53b05154bb2104e395922bd0eed4e.tar ikiwiki-6eb3cf7e76c53b05154bb2104e395922bd0eed4e.tar.gz |
make setargv take an array
for consistentcy with getargv, which returns one
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/external.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/external.pm b/IkiWiki/Plugin/external.pm index a30ef3f61..43d2cbb28 100644 --- a/IkiWiki/Plugin/external.pm +++ b/IkiWiki/Plugin/external.pm @@ -162,8 +162,9 @@ sub getargv ($) { #{{{ sub setargv ($@) { #{{{ my $plugin=shift; + my $array=shift; - @ARGV=@_; + @ARGV=@$array; } #}}} sub inject ($@) { #{{{ |