memory/jemalloc/update.sh

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rwxr-xr-x

Integrate suggestion from review to improve consistency with existing code.

     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