Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Merge pull request #2673 from ethcore/jg-update-js-precompiled
Browse files Browse the repository at this point in the history
script to update js-precompiled
  • Loading branch information
jacogr authored Oct 17, 2016
2 parents 12b115b + 37399c0 commit 357e482
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions js/scripts/update-precompiled.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/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 origin $1
git merge $1 -X theirs

popd
exit 0

0 comments on commit 357e482

Please sign in to comment.