mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-13 02:30:11 +01:00
Fix elf check
This commit is contained in:
parent
e64a3ad515
commit
df4345e275
@ -2009,8 +2009,11 @@ def scan_source(build_dir, root_dir, thisbuild):
|
||||
problems.append(msg)
|
||||
|
||||
elif curfile.endswith('.so'):
|
||||
print 'Warning: ELF at ' + fp
|
||||
problems.append(msg)
|
||||
if '/jni' in r:
|
||||
print 'Warning: Found ELF at ' + fp
|
||||
else:
|
||||
msg = 'Found ELF at ' + fp
|
||||
problems.append(msg)
|
||||
|
||||
elif curfile.endswith('.java'):
|
||||
for line in file(fp):
|
||||
|
Loading…
Reference in New Issue
Block a user