summaryrefslogtreecommitdiff
path: root/IkiWiki/Wrapper.pm
diff options
context:
space:
mode:
authorAmitai Schlair <schmonz@magnetic-babysitter.(none)>2009-08-22 01:25:41 -0400
committerAmitai Schlair <schmonz@magnetic-babysitter.(none)>2009-08-22 01:25:41 -0400
commit524de4db2639d37aa7049de4363c5d482cd34a0e (patch)
tree966dad995db42b4cbe9bbf0a16268d862b597fe4 /IkiWiki/Wrapper.pm
parent5c0e56d149c6b33d010561f64f583e7ad1c529da (diff)
Pass along wrapper args to ikiwiki, then handle the "cvs add dir"
case with a getopt hook directly in my plugin. If the wrapper change is safe, we won't need a wrapper wrapper.
Diffstat (limited to 'IkiWiki/Wrapper.pm')
-rw-r--r--IkiWiki/Wrapper.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Wrapper.pm b/IkiWiki/Wrapper.pm
index 6555fe625..4d92716ff 100644
--- a/IkiWiki/Wrapper.pm
+++ b/IkiWiki/Wrapper.pm
@@ -139,7 +139,7 @@ $envsave
}
$pre_exec
- execl("$this", "$this", NULL);
+ execv("$this", argv);
perror("exec $this");
exit(1);
}