[tor-commits] [tor-browser-build/master] Set bridges prefs depending on platform
boklm at torproject.org
boklm at torproject.org
Wed Jul 19 17:09:17 UTC 2017
commit 551dd7a7b870177c5f6d391e73017f9dca5163b9
Author: Nicolas Vigier <boklm at torproject.org>
Date: Wed Jul 19 18:49:17 2017 +0200
Set bridges prefs depending on platform
---
projects/tor-browser/build | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/projects/tor-browser/build b/projects/tor-browser/build
index 69469db..b9537a3 100644
--- a/projects/tor-browser/build
+++ b/projects/tor-browser/build
@@ -109,7 +109,17 @@ cp -a Bundle-Data/Docs/* $TBDIR/$DOCSPATH
tar -C Bundle-Data/[% bundledata_osname %] -c . | tar -C $TBDIR[% IF ! c("var/osx") %]/TorBrowser[% END %] -x
cat Bundle-Data/PTConfigs/[% bundledata_osname %]/torrc-defaults-appendix >> $TBDIR/$TORCONFIGPATH/torrc-defaults
-cat Bundle-Data/PTConfigs/bridge_prefs.js >> $TBDIR/$EXTOVERRIDESPATH
+[% IF c("var/linux") -%]
+ cat Bundle-Data/PTConfigs/bridge_prefs.js >> $TBDIR/$EXTOVERRIDESPATH
+[% END -%]
+[% IF c("var/windows") -%]
+ # We don't have snowflake available on Windows yet
+ grep -v 'default_bridge\.snowflake' Bundle-Data/PTConfigs/bridge_prefs.js >> $TBDIR/$EXTOVERRIDESPATH
+[% END -%]
+[% IF c("var/osx") -%]
+ # FTE is temporarily removed due to bug 18495.
+ grep -Ev 'default_bridge\.fte' Bundle-Data/PTConfigs/bridge_prefs.js >> $TBDIR/$EXTOVERRIDESPATH
+[% END -%]
cat Bundle-Data/PTConfigs/meek-http-helper-user.js >> $TBDIR/$MEEKPROFILEPATH/user.js
[% IF c("var/osx") %]
More information about the tor-commits
mailing list