summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-12-16 11:24:02 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-12-16 23:32:11 +0000
commitf54356c3fddd604e84e0b22c81c6d3c03958c753 (patch)
tree2d3f997d769fb5f004c73f37821b74f4f8261fd2 /meta
parenta96403c6254e74c7939748f0917f0d6d606eda49 (diff)
downloadpoky-f54356c3fddd604e84e0b22c81c6d3c03958c753.tar.gz
podfix: only alter normal files
(From OE-Core rev: 23d38b2ad6f7a39e5c1ffd092322942474935c33) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/podfix.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/podfix.bbclass b/meta/classes/podfix.bbclass
index 54fff6a0a2..cc8210a27e 100644
--- a/meta/classes/podfix.bbclass
+++ b/meta/classes/podfix.bbclass
@@ -16,6 +16,9 @@ python pod_strip_version() {
16 for root, dirs, files in os.walk(d.expand("${D}${mandir}")): 16 for root, dirs, files in os.walk(d.expand("${D}${mandir}")):
17 for filename in files: 17 for filename in files:
18 filename = os.path.join(root, filename) 18 filename = os.path.join(root, filename)
19 if not os.path.isfile(filename):
20 continue
21
19 with opener(filename, "rb") as manfile: 22 with opener(filename, "rb") as manfile:
20 manpage = manfile.read() 23 manpage = manfile.read()
21 m = bad_re.search(manpage) 24 m = bad_re.search(manpage)