Permalink
Browse files

allow build files to use dynamic sdk version number

  • Loading branch information...
1 parent f56b71b commit b4d5b6bf9cf17897b709beeecd8e92cd384acfb9 Dale Harvey committed Jun 12, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/com/couchone/libcouch/CouchInstaller.java
@@ -189,7 +189,8 @@ private static void installPackage(String baseUrl, String pkg, Handler handler)
iLOWriter.close();
String[][] replacements = new String[][]{
- {"%app_name%", CouchInstaller.appNamespace}
+ {"%app_name%", CouchInstaller.appNamespace},
+ {"%sdk_int%", Integer.toString(android.os.Build.VERSION.SDK_INT)}
};
replace(CouchInstaller.erlangPath() + "/erts-5.7.5/bin/start", replacements);

0 comments on commit b4d5b6b

Please sign in to comment.