mirror of
git://git.yoctoproject.org/yocto-autobuilder-helper.git
synced 2025-07-19 20:59:02 +02:00
utils: Teach buildtools script handling about unset
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
8ae7f1dc26
commit
eb295f62f1
|
@ -410,6 +410,10 @@ def enable_buildtools_tarball(btdir):
|
|||
if line[1].startswith(("'", '"')):
|
||||
line[1] = line[1][1:-1]
|
||||
os.environ[line[0]] = line[1]
|
||||
elif line.startswith("unset "):
|
||||
line = line.strip().split(" ", 1)[1]
|
||||
if line in os.environ:
|
||||
del os.environ[line]
|
||||
|
||||
def setup_buildtools_tarball(ourconfig, workername, btdir):
|
||||
bttarball = None
|
||||
|
|
Loading…
Reference in New Issue
Block a user