mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 09:17:46 +01:00
Fix when idf component has broken symlinks (#5058)
This commit is contained in:
parent
fc3d558d47
commit
22a1134f0e
1 changed files with 2 additions and 0 deletions
|
@ -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__)
|
||||||
|
|
Loading…
Reference in a new issue