Hide 'git --version' output

This commit is contained in:
Steve Rowe 2016-05-23 16:28:35 -04:00
parent dbb1fc688f
commit 532d07f1f5
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ def parse_config():
return config
def check_cmdline_tools(): # Fail fast if there are cmdline tool problems
if os.system('git --version'):
if os.system('git --version >/dev/null 2>/dev/null'):
raise RuntimeError('"git --version" returned a non-zero exit code.')
antVersion = os.popen('ant -version').read().strip()
if not antVersion.startswith('Apache Ant(TM) version 1.8'):