GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still and

Bug 40104: Use our TMPDIR when creating our .mar files

parent 5e51b7fb
......@@ -143,6 +143,7 @@ sub convert_files {
unlink $output;
local $ENV{MOZ_PRODUCT_VERSION} = $file->{version};
local $ENV{MAR_CHANNEL_ID} = "torbrowser-torproject-$channel";
local $ENV{TMPDIR} = $tmpdir;
(undef, $err, $success) = capture_exec('', '-q',
$output, "$tmpdir/$");
exit_error "Error updating $output: $err" unless $success;
......@@ -232,6 +232,7 @@ sub create_incremental_mar {
local $ENV{MOZ_PRODUCT_VERSION} = $new_version;
local $ENV{MAR_CHANNEL_ID} = "torbrowser-torproject-$channel";
local $ENV{TMPDIR} = $tmpdir;
my ($out, $err, $success) = capture_exec('',
$mar_file_path, "$tmpdir/A", "$tmpdir/B");
if (!$success) {
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