We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bb1b01 commit e5f1b13Copy full SHA for e5f1b13
python/private/python_bootstrap_template.txt
@@ -98,7 +98,7 @@ def GetWindowsPathWithUNCPrefix(path):
98
def HasWindowsExecutableExtension(path):
99
return path.endswith('.exe') or path.endswith('.com') or path.endswith('.bat')
100
101
-if IsWindows() and not HasWindowsExecutableExtension(PYTHON_BINARY):
+if PYTHON_BINARY and IsWindows() and not HasWindowsExecutableExtension(PYTHON_BINARY):
102
PYTHON_BINARY = PYTHON_BINARY + '.exe'
103
104
def SearchPath(name):
0 commit comments