summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSukhbir Singh <sukhbir@torproject.org>2017-01-07 01:00:09 -0500
committerSukhbir Singh <sukhbir@torproject.org>2017-01-07 01:00:09 -0500
commitd3834a997f73c481db9458d67ccc06a2852f9d9b (patch)
treea5b038a3d893d37f8277c63fa1197c720a823be1
parent09f9aa4b2b861030e349b77fa5dca394b514c01a (diff)
Remove redundant $PLUGINSDIR from Windows build
The version of 7z (9.02) we are using for the builds creates redundant $PLUGINSDIR which we remove.
-rwxr-xr-xprojects/tor-messenger/build2
1 files changed, 2 insertions, 0 deletions
diff --git a/projects/tor-messenger/build b/projects/tor-messenger/build
index 1415f22..817af38 100755
--- a/projects/tor-messenger/build
+++ b/projects/tor-messenger/build
@@ -64,6 +64,8 @@ cat $rootdir/Bundle-Data/PTConfigs/bridge_prefs.js >> \
[% IF c("var/windows") -%]
7z x ../../../../../../../[% c('input_files_by_name/tor-browser') %]
+# The version of 7z (9.02) we are using for the builds creates redundant $PLUGINSDIR which we remove.
+rm -rf \$PLUGINSDIR Browser/\$PLUGINSDIR
mv \$_OUTDIR tor-browser_en-US
cp -pf tor-browser_en-US/Browser/libssp-0.dll tor-browser_en-US/Browser/TorBrowser/Tor/