diff options
| author | Ross Burton <ross.burton@intel.com> | 2019-12-16 11:24:02 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-11 11:06:22 +0000 |
| commit | 5a3341083f1a6fd2b24aa9f4dea80dffae78c69b (patch) | |
| tree | a5c7797cfb5c30e7126923b6595db9152bba0e56 | |
| parent | 0d4ae87e43f7a378c728bf2c11094b25b6fbba97 (diff) | |
| download | poky-5a3341083f1a6fd2b24aa9f4dea80dffae78c69b.tar.gz | |
podfix: only alter normal files
(From OE-Core rev: dcbaf2a7a444f07ab516833f4ed4a2322828bddd)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 23d38b2ad6f7a39e5c1ffd092322942474935c33)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/classes/podfix.bbclass | 3 |
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) |
