[HTTPS-Everywhere] More improvements to makexpi.sh

Alex Xu alex_y_xu at yahoo.ca
Wed Oct 5 17:06:25 PDT 2011


Replaced $() with `` for increased portability to other sh's.

Detect if trivial-validate.py is unavailable in the current branch and
use trivial-validate(.sh) instead.

Correct the use of ~pre in XPI name; more specifically, use ~pre only if
compiling from current directory.

Remove the ridiculousness of making then removing the pkg directory.
Unsure what that was a workaround for in the first place.

Consolidate definition of default.rulesets.

Display space saved by crushing.

Consolidate multiple `sed` commands into one.

Change printf to echo.

Increase performance of "Rules disabled by default" calculation
(unnecessary micro-optimization much?)

Also pushed to https://github.com/Hello71/HTTPS-Everywhere; see commit
diff
https://github.com/Hello71/HTTPS-Everywhere/commit/b74e657f6475e3a6978d390e5f04fb3496a2eb13
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makexpi.sh.patch
Type: text/x-patch
Size: 3366 bytes
Desc: not available
URL: <http://lists.eff.org/pipermail/https-everywhere/attachments/20111005/e7005360/attachment.bin>


More information about the HTTPS-everywhere mailing list