chiark / gitweb /
Debuggable allowed when using --install
authorCiaran Gultnieks <ciaran@ciarang.com>
Mon, 15 Apr 2013 13:00:27 +0000 (14:00 +0100)
committerCiaran Gultnieks <ciaran@ciarang.com>
Mon, 15 Apr 2013 13:00:27 +0000 (14:00 +0100)
fdroidserver/build.py

index 54b0b287198712652455f592fced2966abbaccdc..220e368b907dde0bcd428fad021d673d8f04d56b 100644 (file)
@@ -391,7 +391,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, extlib_dir, tmp_dir,
         src = os.path.join(bindir, src)
 
     # Make sure it's not debuggable...
-    if common.isApkDebuggable(src):
+    if not install and common.isApkDebuggable(src):
         raise BuildException("APK is debuggable")
 
     # By way of a sanity check, make sure the version and version