зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1748046
- Don't quote the first element in toolchain task commands. r=taskgraph-reviewers,aki
This gets us closer to what we had before bug 1743742. Differential Revision: https://phabricator.services.mozilla.com/D134893
This commit is contained in:
Родитель
8fc39dd968
Коммит
23f2890ff5
|
@ -181,7 +181,12 @@ def common_toolchain(config, job, taskdesc, is_docker):
|
|||
"{}/taskcluster/scripts/misc/{}".format(gecko_path, run.pop("script"))
|
||||
] + run.pop("arguments", [])
|
||||
if not is_docker:
|
||||
run["command"] = shell_quote(*run["command"])
|
||||
# Don't quote the first item in the command because it purposely contains
|
||||
# an environment variable that is not meant to be quoted.
|
||||
if len(run["command"]) > 1:
|
||||
run["command"] = run["command"][0] + " " + shell_quote(*run["command"][1:])
|
||||
else:
|
||||
run["command"] = run["command"][0]
|
||||
|
||||
configure_taskdesc_for_run(config, job, taskdesc, worker["implementation"])
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче