mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
Bug 1491371: [comm-task-env] Pass wrapped command name as argv[0]; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D24415 --HG-- rename : taskcluster/scripts/comm-task-env => taskcluster/docker/decision/comm-task-env extra : moz-landing-system : lando
This commit is contained in:
parent
56d0741c05
commit
b7b0abc340
@ -25,9 +25,7 @@ RUN bash /tmp/system-setup.sh
|
||||
# %include taskcluster/scripts/run-task
|
||||
ADD topsrcdir/taskcluster/scripts/run-task /builds/worker/bin/run-task
|
||||
|
||||
# %include taskcluster/scripts/comm-task-env
|
||||
ADD topsrcdir/taskcluster/scripts/comm-task-env \
|
||||
/builds/worker/bin/comm-task-env
|
||||
ADD comm-task-env /builds/worker/bin/comm-task-env
|
||||
|
||||
ENV PATH=/builds/worker/bin:$PATH \
|
||||
SHELL=/bin/bash \
|
||||
|
@ -1 +1 @@
|
||||
2.2.0
|
||||
2.2.1
|
||||
|
@ -182,7 +182,7 @@ def update_environment(gecko_conf):
|
||||
def exec_run_task(args):
|
||||
"""Executes run-task with a modified environment."""
|
||||
print_message("Executing: {}".format(pformat(args)))
|
||||
os.execv(args[0], args[1:])
|
||||
os.execv(args[0], args[0:])
|
||||
|
||||
|
||||
def main():
|
Loading…
Reference in New Issue
Block a user