mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
run-tests: fix exename on Windows
This commit is contained in:
parent
9547883e85
commit
7451427eba
@ -363,6 +363,8 @@ def usecorrectpython():
|
||||
return
|
||||
else:
|
||||
exename = 'python'
|
||||
if sys.platform == 'win32':
|
||||
exename = 'python.exe'
|
||||
vlog('# Making python executable in test path use correct Python')
|
||||
mypython = os.path.join(BINDIR, exename)
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user