Skip to content

Commit ea3dfa4

Browse files
committed
msys at least breaks elsewhere now
1 parent 1f57443 commit ea3dfa4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

py/makeversionhdr.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,14 @@ def get_version_info_from_git():
2222
[tools_describe],
2323
stderr=subprocess.STDOUT,
2424
universal_newlines=True,
25+
shell=True
2526
).strip()
2627
except subprocess.CalledProcessError as er:
2728
if er.returncode == 128:
2829
# git exit code of 128 means no repository found
2930
return None
3031
git_tag = ""
31-
except OSError:
32+
except OSError as e:
3233
return None
3334
try:
3435
git_hash = subprocess.check_output(

0 commit comments

Comments
 (0)