summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/external.pm3
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 ($@) { #{{{