Commit cee2200a authored by Nirbheek Chauhan's avatar Nirbheek Chauhan

cerbero: The toolchain_prefix is not always defined

Fixes all CI:

TypeError: stat: can't specify None for path argument
parent 3c574c8f
......@@ -90,7 +90,7 @@ class BuildTools (BootstrapperBase, Fetch):
config.build_tools_cache = self.config.build_tools_cache
config.external_recipes = self.config.external_recipes
if not os.path.exists(config.toolchain_prefix):
if config.toolchain_prefix and not os.path.exists(config.toolchain_prefix):
if not os.path.exists(config.prefix):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment