]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - ikiwiki.in
other DVCS may be able to support anon push
[git.ikiwiki.info.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 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();
                                        $config{post_commit}=1;
                                }
                                gen_wrapper();