Pass along wrapper args to ikiwiki, then handle the "cvs add dir"
[ikiwiki.git] / IkiWiki / Wrapper.pm
index 6555fe625f8e542e786f3b6d7d05a72772ea207f..4d92716ff0d31a523e855b7fe86d76abb326709f 100644 (file)
@@ -139,7 +139,7 @@ $envsave
        }
 
 $pre_exec
-       execl("$this", "$this", NULL);
+       execv("$this", argv);
        perror("exec $this");
        exit(1);
 }