forked from jasder/antlr
Change File.separator to File.pathSeparator
This commit is contained in:
parent
7e8fb7a7f3
commit
a0314a8946
|
@ -393,7 +393,7 @@ public abstract class BaseTest {
|
||||||
String gopath = builder.environment().get("GOPATH");
|
String gopath = builder.environment().get("GOPATH");
|
||||||
String path = runtimePath + File.pathSeparator + tmpdir;
|
String path = runtimePath + File.pathSeparator + tmpdir;
|
||||||
if (gopath != null && gopath.length() > 0) {
|
if (gopath != null && gopath.length() > 0) {
|
||||||
path = gopath + File.separator + path;
|
path = gopath + File.pathSeparator + path;
|
||||||
}
|
}
|
||||||
builder.environment().put("GOPATH", path);
|
builder.environment().put("GOPATH", path);
|
||||||
builder.directory(new File(tmpdir));
|
builder.directory(new File(tmpdir));
|
||||||
|
|
Loading…
Reference in New Issue