diff options
Diffstat (limited to 'meta/classes-global/insane.bbclass')
-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 2e53778934..5743d91240 100644 --- a/meta/classes-global/insane.bbclass +++ b/meta/classes-global/insane.bbclass | |||
@@ -97,9 +97,8 @@ def package_qa_check_shebang_size(path, name, d, elf, messages): | |||
97 | return | 97 | return |
98 | 98 | ||
99 | if stanza.startswith(b'#!'): | 99 | if stanza.startswith(b'#!'): |
100 | #Shebang not found | ||
101 | try: | 100 | try: |
102 | stanza = stanza.decode("utf-8") | 101 | stanza.decode("utf-8") |
103 | except UnicodeDecodeError: | 102 | except UnicodeDecodeError: |
104 | #If it is not a text file, it is not a script | 103 | #If it is not a text file, it is not a script |
105 | return | 104 | return |