mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-09-06 16:04:40 +02:00
To avoid issues when a user installed a Sourcery toolchain to the default path and let it modify their PATH, we iterate over PATH and remove the problematic elements. Unfortunately, in doing so, we inadvertently forced an early expansion of PATH due to getting it in its expanded form, then setting PATH based on that form. Instead, operate against the unexpanded PATH. Signed-off-by: Christopher Larson <chris_larson@mentor.com>