GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Unverified Commit 183b7994 authored by boklm's avatar boklm
Browse files

Fix permissions after extracting Windows bundle on cygwin

When using using cygwin's version of p7zip (rather than Windows' version
of 7z) to extract the Windows bundle, some files are missing the read or
execution permission.
parent 5b8af56b
......@@ -595,6 +595,7 @@ sub extract_tbb {
move("$tmpdir/Browser", "$tmpdir/torbrowser/Browser");
}
move ("$tmpdir/Start Tor Browser.exe", "$tmpdir/torbrowser/");
system('chmod', '-R', '+rx', $tmpdir) if $OSNAME eq 'cygwin';
} elsif ($tbbinfos->{os} eq 'MacOSX') {
my $mountpoint = File::Temp::newdir('XXXXXX', DIR => $options->{tmpdir});
system('hdiutil', 'mount', '-mountpoint', $mountpoint, $tbbfile);
......
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