← Back to team overview

launchpad-reviewers team mailing list archive

Re: [Merge] ~twom/lpbuildbot-worker:correct-lxc-location into lpbuildbot-worker:main

 

Could we prepend /snap/bin to $PATH instead?  Something like this in the __main__ block:

    path_segments = os.environ["PATH"].split(":")
    if "/snap/bin" not in path_segments:
        path_segments.insert(0, "/snap/bin")
        os.environ["PATH"] = ":".join(path_segments)
-- 
https://code.launchpad.net/~twom/lpbuildbot-worker/+git/lpbuildbot-worker/+merge/390728
Your team Launchpad code reviewers is requested to review the proposed merge of ~twom/lpbuildbot-worker:correct-lxc-location into lpbuildbot-worker:main.


References