diff options
Diffstat (limited to 'meta/classes-global')
-rw-r--r-- | meta/classes-global/insane.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass index 05b8538940..bec349e97c 100644 --- a/meta/classes-global/insane.bbclass +++ b/meta/classes-global/insane.bbclass | |||
@@ -82,8 +82,7 @@ def package_qa_clean_path(path, d, pkg=None): | |||
82 | 82 | ||
83 | QAPATHTEST[shebang-size] = "package_qa_check_shebang_size" | 83 | QAPATHTEST[shebang-size] = "package_qa_check_shebang_size" |
84 | def package_qa_check_shebang_size(path, name, d, elf): | 84 | def package_qa_check_shebang_size(path, name, d, elf): |
85 | import stat | 85 | if elf or os.path.islink(path) or not os.path.isfile(path): |
86 | if os.path.islink(path) or stat.S_ISFIFO(os.stat(path).st_mode) or elf: | ||
87 | return | 86 | return |
88 | 87 | ||
89 | try: | 88 | try: |