forked from mirrors/gecko-dev
Bug 1753914 - ./mach environment is failed in gradle task on Windows. r=nalexander
When driver letter is upper case, `commandLine.execute` seems to be failed. So I would like to change MOZILLABUILD environment variable to lower case. Differential Revision: https://phabricator.services.mozilla.com/D137976
This commit is contained in:
parent
b49f881ab4
commit
020bef252f
1 changed files with 2 additions and 2 deletions
|
|
@ -9,9 +9,9 @@ if (System.properties['os.name'].toLowerCase().contains('windows')) {
|
||||||
// gradle is called before parsing config.status, we cannot use PYTHON
|
// gradle is called before parsing config.status, we cannot use PYTHON
|
||||||
// value.
|
// value.
|
||||||
if (System.env.MOZILLABUILD) {
|
if (System.env.MOZILLABUILD) {
|
||||||
def mozillabuild = System.env.MOZILLABUILD
|
def mozillabuild = System.env.MOZILLABUILD.toLowerCase()
|
||||||
if (mozillabuild) {
|
if (mozillabuild) {
|
||||||
commandLine.addAll(0, ["${mozillabuild}/python3/python.exe"])
|
commandLine.addAll(0, ["${mozillabuild}/python3/python3.exe"])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue