forked from jasder/antlr
Merge pull request #48 from runner-mei/patch-4
auto locate go path on the windows
This commit is contained in:
commit
bb9a08b158
|
@ -500,6 +500,10 @@ public abstract class BaseTest {
|
|||
if (candidate.exists()) {
|
||||
return candidate.getPath();
|
||||
}
|
||||
candidate = new File(new File(path), tool+".exe");
|
||||
if (candidate.exists()) {
|
||||
return candidate.getPath();
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue