memory/jemalloc/update.sh
author Ryan VanderMeulen <ryanvm@gmail.com>
Mon, 22 Apr 2013 21:15:00 -0400
changeset 129468 f59811fe0fb3d303fd20abc4e10432488c3d3db5
parent 96045 c27de97f078dc7c2276af6484b718b54730180d8
child 184575 f37de5ce263d5739202ef7102abf1c8e0cada212
permissions -rwxr-xr-x
Merge birch to m-c.

#!/bin/bash

set -e

cd `dirname $0`

source upstream.info

rm -rf src
git clone "$UPSTREAM_REPO" src
cd src
git checkout "$UPSTREAM_COMMIT"
autoconf
git describe --long --abbrev=40 > VERSION
rm -rf .git .gitignore autom4te.cache
cd ..
hg addremove -q src

echo "jemalloc has now been updated.  Don't forget to run hg commit!"