tools/update-packaging/test/buildrefmars.sh

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rwxr-xr-x

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 #!/bin/bash
     2 # Builds all the reference mars
     4 if [ -f "ref.mar" ]; then
     5   rm "ref.mar"
     6 fi
     7 if [ -f "ref-mac.mar" ]; then
     8   rm "ref-mac.mar"
     9 fi
    11  ../make_incremental_update.sh ref.mar `pwd`/from `pwd`/to
    12  ../make_incremental_update.sh ref-mac.mar `pwd`/from-mac `pwd`/to-mac
    14 if [ -f "product-1.0.lang.platform.complete.mar" ]; then
    15   rm "product-1.0.lang.platform.complete.mar"
    16 fi
    17 if [ -f "product-2.0.lang.platform.complete.mar" ]; then
    18   rm "product-2.0.lang.platform.complete.mar"
    19 fi
    20 if [ -f "product-2.0.lang.mac.complete.mar" ]; then
    21   rm "product-2.0.lang.mac.complete.mar"
    22 fi
    24 ./make_full_update.sh product-1.0.lang.platform.complete.mar "`pwd`/from"
    25 ./make_full_update.sh product-2.0.lang.platform.complete.mar "`pwd`/to"
    26 ./make_full_update.sh product-1.0.lang.mac.complete.mar "`pwd`/from-mac"
    27 ./make_full_update.sh product-2.0.lang.mac.complete.mar "`pwd`/to-mac"

mercurial