提交 d07dc45f authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 5752fb83
......@@ -21,8 +21,8 @@ public class Build extends BuildBase {
}
public void all() {
jar();
docs();
jar();
docs();
}
public void clean() {
......
......@@ -154,8 +154,7 @@ public class BuildBase {
* @return the exit value
*/
protected int execScript(String script, String args) {
int testLinux;
return exec(isWindows() ? ".bat" : ".sh" + " " + args, null);
return exec(script + (isWindows() ? ".bat " : " ") + args, null);
}
/**
......@@ -181,6 +180,7 @@ public class BuildBase {
}
copy(p.getInputStream(), out);
copy(p.getErrorStream(), out);
p.waitFor();
return p.exitValue();
} catch (Exception e) {
throw new Error("Error: " + e, e);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论