]> sipb.mit.edu Git - ikiwiki.git/blobdiff - ikiwiki.in
test adding a file
[ikiwiki.git] / ikiwiki.in
index 60663bc89cdf8e0283da54a4d7f0014f627582dd..d601d2739e64bdba76cfd5a852d18a36876d12ec 100755 (executable)
@@ -156,7 +156,8 @@ sub main () { #{{{
                                        if exists $config{setupsyslog};
                                delete @config{qw(setupsyslog setupverbose wrappers genwrappers rebuild)};
                                checkconfig();
-                               if (! $config{cgi} && ! $config{post_commit}) {
+                               if (! $config{cgi} && ! $config{post_commit} &&
+                                   ! $config{test_receive}) {
                                        $config{post_commit}=1;
                                }
                                gen_wrapper();