fix permissions problem for temp tar file
authorAndrew Dunstan <andrew@dunslane.net>
Wed, 21 Mar 2007 14:58:58 +0000 (14:58 +0000)
committerAndrew Dunstan <andrew@dunslane.net>
Wed, 21 Mar 2007 14:58:58 +0000 (14:58 +0000)
cgi-bin/show_stage_log.pl

index 52c1a379e3c8ac381e0dd3884a6fa5220d47932d..dbc364925c7b001cca1c11144dfed1501f1a9940 100644 (file)
@@ -65,7 +65,9 @@ unless ($stage)
 }
 
 my $template = "buildlogXXXXXX";
-my ($fh, $filename) = tempfile($template, UNLINK => 1);
+my ($fh, $filename) = tempfile($template, 
+                                                          DIR => '/home/community/pgbuildfarm/buildlogs',
+                                                          UNLINK => 1);
 print $fh $tgz;
 close($fh);