Bug 1687421 - Avoid error with --enable-bootstrap on platforms with no bootstrap artifacts. r=firefox-build-system-reviewers,mhentges

Differential Revision: https://phabricator.services.mozilla.com/D102259
This commit is contained in:
Mike Hommey 2021-01-19 14:10:16 +00:00
Родитель 686d0e43da
Коммит 21d7cbaac5
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -340,7 +340,7 @@ def bootstrap_search_path(*path_parts, **kwargs):
path = os.path.join(toolchains_base_dir, *path_parts)
# Only bootstrap toolchains that have been bootstrapped at least once.
if bootstrap and os.path.exists(path):
if bootstrap and tasks and os.path.exists(path):
try:
try_bootstrap()
except Exception as e: