]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Wrapper.pm
cross-ref to new todo
[git.ikiwiki.info.git] / IkiWiki / Wrapper.pm
index d8a387ec1b3012b662b1dc285e7b4b465d5372d6..1b8c558e5a46ae55aa14be4f09e59ef5ad5a504b 100644 (file)
@@ -52,6 +52,8 @@ sub gen_wrapper () {
                       HTTP_COOKIE REMOTE_USER HTTPS REDIRECT_STATUS
                       HTTP_HOST SERVER_PORT HTTPS HTTP_ACCEPT
                       REDIRECT_URL} if $config{cgi};
+       push @envsave, qw{GIT_OBJECT_DIRECTORY GIT_QUARANTINE_PATH
+                      GIT_ALTERNATE_OBJECT_DIRECTORIES} if $config{test_receive};
        my $envsave="";
        foreach my $var (@envsave) {
                $envsave.=<<"EOF";
@@ -180,6 +182,7 @@ EOF
 #include <stdlib.h>
 #include <string.h>
 #include <sys/file.h>
+#include <sys/wait.h>
 
 extern char **environ;
 int newenvironlen=0;