chiark / gitweb /
Don't check for .elf. .so is just a warning now.
authorDaniel Martí <mvdan@mvdan.cc>
Tue, 19 Mar 2013 14:16:46 +0000 (15:16 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Tue, 19 Mar 2013 14:16:46 +0000 (15:16 +0100)
fdroidserver/common.py

index a948f821db56b0508238691e4dd681383c3119fa..998649d6ad14ab1183c20f79dc138f58a534fe37 100644 (file)
@@ -2008,8 +2008,8 @@ def scan_source(build_dir, root_dir, thisbuild):
                 msg = 'Found apk file, which should not be in the source - ' + fp
                 problems.append(msg)
 
-            elif curfile.endswith('.so') or curfile.endswith('.elf'):
-                msg = 'Found ELF at ' + fp
+            elif curfile.endswith('.so'):
+                print 'Warning: ELF at ' + fp
                 problems.append(msg)
 
             elif curfile.endswith('.java'):