Commit 65e86635 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Set TMPDIR to /usr/testbed/tmp to avoid filling small /tmp.

parent 32262340
...@@ -66,7 +66,6 @@ my $TAGTYPE_INTERNAL = "internal"; ...@@ -66,7 +66,6 @@ my $TAGTYPE_INTERNAL = "internal";
# #
umask(0002); umask(0002);
# On or off # On or off
sub doarchiving($) sub doarchiving($)
{ {
...@@ -83,9 +82,15 @@ sub mysystem($) ...@@ -83,9 +82,15 @@ sub mysystem($)
{ {
my ($command) = @_; my ($command) = @_;
# Need a big TMPDIR for svn stuff.
my $tmpdir = $ENV{'TMPDIR'};
$ENV{'TMPDIR'} = "/usr/testbed/tmp";
print STDERR "Running '$command'\n" print STDERR "Running '$command'\n"
if ($debug); if ($debug);
system($command); system($command);
$ENV{'TMPDIR'} = $tmpdir
if (defined($tmpdir));
} }
# Another little helper for scripts that include this library. # Another little helper for scripts that include this library.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment