gecko/tools/profiler/libunwind/update.sh

20 lines
280 B
Bash
Raw Normal View History

#!/bin/bash
set -e
cd `dirname $0`
source upstream.info
hg rm -f src
rm -rf src
git clone "$UPSTREAM_REPO" src
cd src
git checkout "$UPSTREAM_COMMIT"
autoreconf -i
rm -rf .git .gitignore
cd ..
hg add src
echo "libunwind has now been updated. Don't forget to run hg commit!"