From ea3dfa444ac7bf7b687065e609988c96dc376bae Mon Sep 17 00:00:00 2001 From: lady ada Date: Fri, 8 Apr 2022 16:39:47 -0400 Subject: [PATCH] msys at least breaks elsewhere now --- py/makeversionhdr.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/py/makeversionhdr.py b/py/makeversionhdr.py index da6f7c9f59..84bba402d9 100644 --- a/py/makeversionhdr.py +++ b/py/makeversionhdr.py @@ -22,13 +22,14 @@ def get_version_info_from_git(): [tools_describe], stderr=subprocess.STDOUT, universal_newlines=True, + shell=True ).strip() except subprocess.CalledProcessError as er: if er.returncode == 128: # git exit code of 128 means no repository found return None git_tag = "" - except OSError: + except OSError as e: return None try: git_hash = subprocess.check_output(