diff options
author | Simo Fält <simo.falt@qt.io> | 2017-04-27 11:27:10 +0300 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2017-04-27 09:01:55 +0000 |
commit | 898620ed8b4df90f7f8d8d8284937a11658e2fa7 (patch) | |
tree | 0cc636fe59985ebc6e79f3057b4db71185410157 /prepare_coin_sources.py | |
parent | b5a132d8db337d7d0e28b85c7fa4fee815bf8ed2 (diff) |
Prepare_coin_soures: Fix branch detection
Change-Id: Id9a183027a2d5ed379a125ab6630e27a1808cacd
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'prepare_coin_sources.py')
-rw-r--r-- | prepare_coin_sources.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prepare_coin_sources.py b/prepare_coin_sources.py index 8f71a52cb..3445ddfe6 100644 --- a/prepare_coin_sources.py +++ b/prepare_coin_sources.py @@ -109,7 +109,7 @@ def prepare_sources(): os.chdir(module_dir) #Make sure the branch exists, if not use dev _branch = SUBMODULE_BRANCH - git_list_branch_cmd = ["git", "branch", "--list", _branch] + git_list_branch_cmd = ["git", "ls-remote", "origin", "refs/heads/" + _branch] shell = (sys.platform == "win32") result = Popen(git_list_branch_cmd, stdout=PIPE, shell=shell) if len(result.communicate()[0].split())==0: |