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:
e64a3ad
)
Fix elf check
author
Daniel Martí
<mvdan@mvdan.cc>
Tue, 19 Mar 2013 14:38:54 +0000
(15:38 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Tue, 19 Mar 2013 14:38:54 +0000
(15:38 +0100)
fdroidserver/common.py
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index e4e2be4e7216097a3cc055c11f2d0bf1a251752d..308bb0306eedce4058653b216bb353c2386fdd3e 100644
(file)
--- a/
fdroidserver/common.py
+++ b/
fdroidserver/common.py
@@
-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):