Gianpaolo Coro 2018-03-29 17:26:07 +00:00
parent c6b800d997
commit 5e02489dd9
1 changed files with 3 additions and 1 deletions

View File

@ -52,6 +52,7 @@ public class DataMinerUpdater {
// http://data-d.d4science.org/ZGZSUHlQODRZY3pBQVZxNlVOK0xzUVZKc0dZczBKaEpHbWJQNStIS0N6Yz0 // http://data-d.d4science.org/ZGZSUHlQODRZY3pBQVZxNlVOK0xzUVZKc0dZczBKaEpHbWJQNStIS0N6Yz0
// "NetCDF Support Java" dev/software/ // "NetCDF Support Java" dev/software/
public static void main(String args[]) throws Exception { public static void main(String args[]) throws Exception {
System.out.println("Algorithm installer v 1.2.1");
String algorithmName = null; String algorithmName = null;
String implementation = null; String implementation = null;
String category = null; String category = null;
@ -77,7 +78,8 @@ public class DataMinerUpdater {
} }
if (arg.startsWith("-t")) { if (arg.startsWith("-t")) {
category = arg.substring(2); category = arg.substring(2);
int idxprivusers = category.indexOf("-["); //int idxprivusers = category.indexOf("-[");
int idxprivusers = category.indexOf("-#");
if (idxprivusers > 1) { if (idxprivusers > 1) {
privateusers = category.substring(idxprivusers + 2, category.length() - 1); privateusers = category.substring(idxprivusers + 2, category.length() - 1);
category = category.substring(0,idxprivusers); category = category.substring(0,idxprivusers);