diff options
-rw-r--r-- | build_scripts/qp5_tool.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build_scripts/qp5_tool.py b/build_scripts/qp5_tool.py index 7cba8e2b7..b023fc58f 100644 --- a/build_scripts/qp5_tool.py +++ b/build_scripts/qp5_tool.py @@ -395,8 +395,8 @@ if __name__ == '__main__': argument_parser.print_help() sys.exit(0) - git = which('git') - if git is None: + git = 'git' + if which(git) is None: warnings.warn('Unable to find git', RuntimeWarning) sys.exit(-1) |