From: Daniel Martí Date: Sun, 4 Jan 2015 00:45:52 +0000 (+0100) Subject: Don't crash if no suitable NDK is found X-Git-Tag: 0.4.0~176 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=d5af8ec8e61c8696e2783a0a00c79689301a9ddc;p=fdroidserver.git Don't crash if no suitable NDK is found --- diff --git a/fdroidserver/build.py b/fdroidserver/build.py index af8d2ae6..f4083237 100644 --- a/fdroidserver/build.py +++ b/fdroidserver/build.py @@ -466,7 +466,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d # Set up environment vars that depend on each build for n in ['ANDROID_NDK', 'NDK']: - common.env[n] = thisbuild['ndk_path'] + common.env[n] = thisbuild['ndk_path'] or '' # Prepare the source code... root_dir, srclibpaths = common.prepare_source(vcs, app, thisbuild,