chiark / gitweb /
Avoid printing the dir ''
authorDaniel Martí <mvdan@mvdan.cc>
Thu, 3 Apr 2014 14:10:54 +0000 (16:10 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Thu, 3 Apr 2014 14:10:54 +0000 (16:10 +0200)
fdroidserver/build.py

index e0097e682cf2ee2fb849fcdb823555d9f19ee725..12c5ec77af8aed72566a6774890da68e410e2d3c 100644 (file)
@@ -485,7 +485,10 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
             jni_components = ['']
         cmd = [ os.path.join(config['ndk_path'], "ndk-build"), "-j1" ]
         for d in jni_components:
-            logging.info("Building native code in '%s'" % d)
+            if d:
+                logging.info("Building native code in '%s'" % d)
+            else:
+                logging.info("Building native code in the main project")
             manifest = root_dir + '/' + d + '/AndroidManifest.xml'
             if os.path.exists(manifest):
                 # Read and write the whole AM.xml to fix newlines and avoid