1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/memory/jemalloc/update.sh Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,19 @@ 1.4 +#!/bin/bash 1.5 + 1.6 +set -e 1.7 + 1.8 +cd `dirname $0` 1.9 + 1.10 +source upstream.info 1.11 + 1.12 +rm -rf src 1.13 +git clone "$UPSTREAM_REPO" src 1.14 +cd src 1.15 +git checkout "$UPSTREAM_COMMIT" 1.16 +autoconf 1.17 +git describe --long --abbrev=40 > VERSION 1.18 +rm -rf .git .gitignore autom4te.cache 1.19 +cd .. 1.20 +hg addremove -q src 1.21 + 1.22 +echo "jemalloc has now been updated. Don't forget to run hg commit!"