[OE-core] [PATCH] podfix: only alter normal files
Ross Burton
ross.burton at intel.com
Mon Dec 16 11:24:02 UTC 2019
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/classes/podfix.bbclass | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/classes/podfix.bbclass b/meta/classes/podfix.bbclass
index 54fff6a0a23..cc8210a27e2 100644
--- a/meta/classes/podfix.bbclass
+++ b/meta/classes/podfix.bbclass
@@ -16,6 +16,9 @@ python pod_strip_version() {
for root, dirs, files in os.walk(d.expand("${D}${mandir}")):
for filename in files:
filename = os.path.join(root, filename)
+ if not os.path.isfile(filename):
+ continue
+
with opener(filename, "rb") as manfile:
manpage = manfile.read()
m = bad_re.search(manpage)
--
2.20.1
More information about the Openembedded-core
mailing list