mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
Added missing wait after git-version call in wrapper
Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
parent
7efd1a5b23
commit
1619134720
1
repo
1
repo
@ -202,6 +202,7 @@ def _CheckGitVersion():
|
|||||||
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
|
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
|
||||||
ver_str = proc.stdout.read().strip()
|
ver_str = proc.stdout.read().strip()
|
||||||
proc.stdout.close()
|
proc.stdout.close()
|
||||||
|
proc.wait()
|
||||||
|
|
||||||
if not ver_str.startswith('git version '):
|
if not ver_str.startswith('git version '):
|
||||||
print >>sys.stderr, 'error: "%s" unsupported' % ver_str
|
print >>sys.stderr, 'error: "%s" unsupported' % ver_str
|
||||||
|
Loading…
Reference in New Issue
Block a user