mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 00:40:11 +01:00
Scan for random apk files floating around in 'source code'
This commit is contained in:
parent
4d4f3f3838
commit
58a9fc3c1a
@ -1049,6 +1049,10 @@ def scan_source(build_dir, root_dir, thisbuild):
|
||||
msg = 'Found probable non-free blob ' + fp
|
||||
problems.append(msg)
|
||||
|
||||
if curfile.endswith('.apk'):
|
||||
msg = 'Found apk file, which should not be in the source - ' + fp
|
||||
problems.append(msg)
|
||||
|
||||
if curfile.endswith('.java'):
|
||||
for line in file(fp):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user