From 58a9fc3c1adf6629158eacf37c77d64fd3c7dd8a Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Mon, 13 Aug 2012 17:58:02 +0100 Subject: [PATCH] Scan for random apk files floating around in 'source code' --- fdroidserver/common.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 37caf6fc..325dfea5 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -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):