chiark / gitweb /
Fix failure to do anything when ndk_path is not defined
authorCiaran Gultnieks <ciaran@ciarang.com>
Thu, 3 Jul 2014 07:56:48 +0000 (08:56 +0100)
committerCiaran Gultnieks <ciaran@ciarang.com>
Thu, 3 Jul 2014 07:56:56 +0000 (08:56 +0100)
fdroidserver/common.py

index 34739c5b807f22d37f1db9a0672524bc03e70491..a26716ae1989d5cad9c5f0461a6eee5218c1571c 100644 (file)
@@ -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",