1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-17 18:50:11 +02:00

Scan for random apk files floating around in 'source code'

This commit is contained in:
Ciaran Gultnieks 2012-08-13 17:58:02 +01:00
parent 4d4f3f3838
commit 58a9fc3c1a

View File

@ -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):