openethereum/js/scripts/update-precompiled.sh
Jaco Greeff 6aed6a45d3 Bump js-precompiled to 20161018-161705 (#2698)
* Global fetch before specific sha fetch

* Update to js-precompiled 20161018-161705
2016-10-19 11:03:08 +02:00

20 lines
229 B
Bash
Executable File

#!/bin/bash
# change into the submodule build directory
pushd `dirname $0`
cd ../build
if [ -z "$1" ]; then
popd
echo "Usage: $0 <sha-commit>"
exit 1
fi
git fetch
git fetch origin $1
git merge $1 -X theirs
popd
exit 0