chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d4f3f3
)
Scan for random apk files floating around in 'source code'
author
Ciaran Gultnieks
<ciaran@ciarang.com>
Mon, 13 Aug 2012 16:58:02 +0000
(17:58 +0100)
committer
Ciaran Gultnieks
<ciaran@ciarang.com>
Mon, 13 Aug 2012 16:58:02 +0000
(17:58 +0100)
fdroidserver/common.py
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index 37caf6fcacc7c6434671cac0bba8c77156dbcdbd..325dfea5d56fc3ae99296683c8323e7f57a14760 100644
(file)
--- 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):