From c08987cf4b8487e4fa6c2e8330a46f028173f471 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Mart=C3=AD?= Date: Thu, 3 Apr 2014 16:10:54 +0200 Subject: [PATCH] Avoid printing the dir '' --- fdroidserver/build.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fdroidserver/build.py b/fdroidserver/build.py index e0097e68..12c5ec77 100644 --- a/fdroidserver/build.py +++ b/fdroidserver/build.py @@ -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 -- 2.30.2