From: Ciaran Gultnieks Date: Thu, 3 Jul 2014 07:56:48 +0000 (+0100) Subject: Fix failure to do anything when ndk_path is not defined X-Git-Tag: 0.2.1~59 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=327422af09a24f3eea27706668c7f298cbdced48;p=fdroidserver.git Fix failure to do anything when ndk_path is not defined --- diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 34739c5b..a26716ae 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -41,8 +41,8 @@ env = None def get_default_config(): return { - 'sdk_path': os.getenv("ANDROID_HOME"), - 'ndk_path': os.getenv("ANDROID_NDK"), + 'sdk_path': os.getenv("ANDROID_HOME") or "", + 'ndk_path': os.getenv("ANDROID_NDK") or "", 'build_tools': "20.0.0", 'ant': "ant", 'mvn3': "mvn",