[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser-build/maint-10.0] Bug 40104: Use our TMPDIR when creating our .mar files



commit 0785a4864f48daea7e38f226384e09a34b17028d
Author: Georg Koppen <gk@xxxxxxxxxxxxxx>
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) {

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits