mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
21 lines
357 B
Bash
Executable File
21 lines
357 B
Bash
Executable File
#!/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!"
|