gecko/tools/profiler/libunwind/update.sh
Ehsan Akhgari b7041e1d36 Bug 734302 - Part 1: Enable the Gecko Profiler on native Fennec; r=BenWa,khuey
--HG--
extra : rebase_source : 050443e4850aac78551ed985aa81522d808bcb6b
2012-03-02 14:11:47 -05:00

20 lines
280 B
Bash
Executable File

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