summaryrefslogtreecommitdiff
path: root/memory/jemalloc/update.sh
blob: bd126ec8a4f147a08863bd62694d52a4e34c1023 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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!"