mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 21:32:13 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
a96403c625
commit
f54356c3fd
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user