diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-03-18 22:33:01 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-22 09:19:33 +0000 |
commit | bb3b8e4e7580c1dfdfe584d3b5f0fe6803826a43 (patch) | |
tree | 0bdac9af2a34e2676062745fd6b73f9a12a9a26b /scripts/rootfs_rpm-extract-postinst.awk | |
parent | 122ef911aac96b311bbe19106fb9ecbe004fd51b (diff) | |
download | openembedded-core-bb3b8e4e7580c1dfdfe584d3b5f0fe6803826a43.tar.gz openembedded-core-bb3b8e4e7580c1dfdfe584d3b5f0fe6803826a43.tar.bz2 openembedded-core-bb3b8e4e7580c1dfdfe584d3b5f0fe6803826a43.zip |
oelint.bbclass: remove duplicated code
The old code 'if not srcpath.find("{PN}") == -1:' looks strange, use
'if srcpath.find("{PN}") != -1:' and remove duplicated code.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/rootfs_rpm-extract-postinst.awk')
0 files changed, 0 insertions, 0 deletions