Fix when idf component has broken symlinks (#5058)

This commit is contained in:
Jesse Hills 2023-07-05 10:31:58 +12:00 committed by GitHub
parent fc3d558d47
commit 22a1134f0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -547,6 +547,8 @@ def copy_files():
CORE.relative_build_path(f"components/{name}"), CORE.relative_build_path(f"components/{name}"),
dirs_exist_ok=True, dirs_exist_ok=True,
ignore=shutil.ignore_patterns(".git", ".github"), ignore=shutil.ignore_patterns(".git", ".github"),
symlinks=True,
ignore_dangling_symlinks=True,
) )
dir = os.path.dirname(__file__) dir = os.path.dirname(__file__)