memory/jemalloc/update.sh

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rwxr-xr-x

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 #!/bin/bash
     3 set -e
     5 cd `dirname $0`
     7 source upstream.info
     9 rm -rf src
    10 git clone "$UPSTREAM_REPO" src
    11 cd src
    12 git checkout "$UPSTREAM_COMMIT"
    13 autoconf
    14 git describe --long --abbrev=40 > VERSION
    15 rm -rf .git .gitignore autom4te.cache
    16 cd ..
    17 hg addremove -q src
    19 echo "jemalloc has now been updated.  Don't forget to run hg commit!"

mercurial