SomberNight
7 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
7 additions and
0 deletions
-
contrib/build-wine/build-electrum-git.sh
|
|
@ -27,6 +27,13 @@ git clone https://github.com/spesmilo/electrum -b master |
|
|
|
|
|
|
|
pushd electrum |
|
|
|
if [ ! -z "$1" ]; then |
|
|
|
# a commit/tag/branch was specified |
|
|
|
if ! git cat-file -e "$1" 2> /dev/null |
|
|
|
then # can't find target |
|
|
|
# try pull requests |
|
|
|
git config --local --add remote.origin.fetch '+refs/pull/*/head:refs/remotes/origin/pr/*' |
|
|
|
git fetch --all |
|
|
|
fi |
|
|
|
git checkout $1 |
|
|
|
fi |
|
|
|
|
|
|
|