memory/jemalloc/update.sh
author Henrik Skupin <mail@hskupin.info>
Tue, 01 Mar 2016 15:18:22 +0100
changeset 286403 0a2dadeedd4f221d859bee69db3f83a48454c45c
parent 258124 def7cf4cfbcc853b94eb57b694c2119bc7c41315
permissions -rwxr-xr-x
Bug 1252446 - Sync global .gitignore and .hgignore for various missing unwanted files. r=gps DONTBUILD MozReview-Commit-ID: 8OoQ8Ep2JMl

#!/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 .gitattributes autom4te.cache .autom4te.cfg

cd ..
hg addremove -q src

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