chiark / gitweb /
Fix local.properties sdk-location inserting
authorDaniel Martí <mvdan@mvdan.cc>
Mon, 10 Feb 2014 17:26:33 +0000 (18:26 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Mon, 10 Feb 2014 17:26:33 +0000 (18:26 +0100)
fdroidserver/common.py

index 8e2e6054cdaeb0effbf17f492e1d3fd14c1c165c..330b1271c8f89ac72d89af72586ed943188b9be4 100644 (file)
@@ -970,7 +970,7 @@ def prepare_source(vcs, app, build, build_dir, srclib_dir, extlib_dir, onserver=
             props += "sdk-location=%s\n" % sdkloc
         else:
             props += "sdk.dir=%s\n" % config['sdk_path']
-            props += "sdk-location=%s\n" % ['sdk_path']
+            props += "sdk-location=%s\n" % config['sdk_path']
         if 'ndk_path' in config:
             # Add ndk location
             props += "ndk.dir=%s\n" % config['ndk_path']