зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1235559 - |mach android-emulator| looks for the wrong file names on Windows. r=gbrown
This commit is contained in:
Родитель
8d1e5a02b1
Коммит
b1b366d5b2
|
@ -582,6 +582,11 @@ def _find_sdk_exe(substs, exe, tools):
|
|||
except KeyError:
|
||||
_log_debug("%s not set" % exe.upper())
|
||||
|
||||
# Append '.exe' to the name on Windows if it's not present,
|
||||
# so that the executable can be found.
|
||||
if (os.name == 'nt' and not exe.lower().endswith('.exe')):
|
||||
exe += '.exe'
|
||||
|
||||
if not found:
|
||||
# Can exe be found in the Android SDK?
|
||||
try:
|
||||
|
|
Загрузка…
Ссылка в новой задаче