From d5f4bffb8b38c9e146740b9f0f338708161f3b92 Mon Sep 17 00:00:00 2001 From: jellespijker Date: Fri, 22 Sep 2023 00:43:14 +0200 Subject: [PATCH] Revert "Only filter files in directories starting with ." This reverts commit f806a61819592f6c80adb0ef83aa162253154a81. --- UltiMaker-Cura.spec.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UltiMaker-Cura.spec.jinja b/UltiMaker-Cura.spec.jinja index f026c1edd7..3d540d3b8f 100644 --- a/UltiMaker-Cura.spec.jinja +++ b/UltiMaker-Cura.spec.jinja @@ -207,7 +207,7 @@ class UMBUNDLE(BUNDLE): pass else: if typ == 'DATA': - if any([p.startswith(".") for p in inm.parent.parts if inm.parent.is_dir()]) or inm.suffix == '.so': + if any(['.' in p for p in inm.parent.parts]) or inm.suffix == '.so': # Skip info dist egg and some not needed folders in tcl and tk, since they all contain dots in their files logger.warning(f"Skipping DATA file {inm}") continue