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

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

mercurial