boklm pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits: 516907ba by Nicolas Vigier at 2024-11-27T13:48:56+01:00 Bug 41325: Exclude Applications symlink when extracting dmg file in dmg2mar
Recent versions of 7z fail to extract our dmg files since the `Applications` symlink points outside the archive: https://sourceforge.net/p/sevenzip/discussion/45797/thread/9f5b067368/?page=...
We exclude the `Applications` symlink to avoid the issue. We don't need it since it is not included in the mar file.
- - - - -
1 changed file:
- tools/dmg2mar
Changes:
===================================== tools/dmg2mar ===================================== @@ -132,6 +132,7 @@ sub convert_files { $pm->start($step_name) and next; my $tmpdir = File::Temp->newdir(); my (undef, $err, $success) = capture_exec('7z', 'x', "-o$tmpdir", + '-x!*/Applications', $file->{filename}); exit_error "Error extracting $file->{filename}: $err" unless $success;
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/51...
tbb-commits@lists.torproject.org