]> code.ossystems Code Review - openembedded-core.git/commit
files/toolchain-shar-extract.sh: Rework PATH cleaning
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 7 Mar 2020 13:43:44 +0000 (13:43 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Sep 2020 23:11:55 +0000 (00:11 +0100)
commitdac6cc21bbd29e55399b71a3e359a935776118de
treed43b218ca6e2f589ce3a7c49b35a174196184da0
parentaa37b5fe0620122e47f36165f5c7a07d3328dba3
files/toolchain-shar-extract.sh: Rework PATH cleaning

Trying to create a clean PATH breaks cases where we install a buildtools tarball
on hosts to provide newer versions of gcc. Rework the fix for #8698 to clean up
directories in PATH which don't exist isntead. Do it with python as the shell
version was too fraught with corner cases.

(From OE-Core rev: 7674b63819aa7ca95ca5ca5477a5cce32e9691eb)

(From OE-Core rev: 9825236deacf6eb311121d233435a46288c02cdb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/files/toolchain-shar-extract.sh