This commit is contained in:
Bert van der Weerd 2022-02-23 22:06:18 +01:00
parent 6f350f04f1
commit cca6c0dcfb
No known key found for this signature in database
GPG key ID: 4CFABB96ADE0F5B1

View file

@ -26,7 +26,7 @@ def native(cmd,exit_on_fail = True,do_print=True):
def bash(cmd,exit_on_fail = True,do_print=True):
tmp = []
tmp += ['c:/mozilla-build/msys/bin/bash.exe', '-c', cmd]
tmp += ['d:/mozilla-build/msys/bin/bash.exe', '-c', cmd]
sys.stdout.flush()
if do_print:
print(cmd)
@ -39,7 +39,7 @@ def bash(cmd,exit_on_fail = True,do_print=True):
def exec(cmd,exit_on_fail = True, do_print=True):
_native = False
if not os.path.isfile('c:/mozilla-build/msys/bin/bash.exe'):
if not os.path.isfile('d:/mozilla-build/msys/bin/bash.exe'):
_native = True
if _native:
return native(cmd,exit_on_fail,do_print)