chiark / gitweb /
Fix very silly typo that broke all apps using buildjni
authorDaniel Martí <mvdan@mvdan.cc>
Tue, 1 Jul 2014 15:51:17 +0000 (17:51 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Tue, 1 Jul 2014 15:51:17 +0000 (17:51 +0200)
fdroidserver/build.py

index ee14fa651a3f3f0125ca1e40268374e0ff02c70e..dfbf4699131b555d7e54f65c1f43a7314a9f04fd 100644 (file)
@@ -816,7 +816,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
         nativecode = None if not nativecode else nativecode
 
     if thisbuild['buildjni'] and thisbuild['buildjni'] != ['no']:
-        if nativecode is not None:
+        if nativecode is None:
             raise BuildException("Native code should have been built but none was packaged")
     if thisbuild['novcheck']:
         vercode = thisbuild['vercode']