memory/jemalloc/update.sh
author Mike Hommey <mh+mozilla@glandium.org>
Sat, 04 Aug 2012 20:26:44 +0200
changeset 104557 162130598df094e19b044610902abecd403278d3
parent 98760 c27de97f078dc7c2276af6484b718b54730180d8
permissions -rwxr-xr-x
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted

#!/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!"