memory/jemalloc/update.sh

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rwxr-xr-x

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

     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