[tbb-commits] [tor-browser-build/maint-10.0] Bug 40104: Use our TMPDIR when creating our .mar files
gk at torproject.org
gk at torproject.org
Fri Oct 16 19:50:26 UTC 2020
commit 0785a4864f48daea7e38f226384e09a34b17028d
Author: Georg Koppen <gk at torproject.org>
Date: Fri Oct 16 15:46:20 2020 +0000
Bug 40104: Use our TMPDIR when creating our .mar files
---
tools/dmg2mar | 1 +
tools/update-responses/update_responses | 1 +
2 files changed, 2 insertions(+)
diff --git a/tools/dmg2mar b/tools/dmg2mar
index 13a4c9e..54bb512 100755
--- a/tools/dmg2mar
+++ b/tools/dmg2mar
@@ -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('make_full_update.sh', '-q',
$output, "$tmpdir/$appname.app");
exit_error "Error updating $output: $err" unless $success;
diff --git a/tools/update-responses/update_responses b/tools/update-responses/update_responses
index b07d937..de24235 100755
--- a/tools/update-responses/update_responses
+++ b/tools/update-responses/update_responses
@@ -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('make_incremental_update.sh',
$mar_file_path, "$tmpdir/A", "$tmpdir/B");
if (!$success) {
More information about the tbb-commits
mailing list