Look in /usr/local/bin before /usr/bin for mono

This commit is contained in:
Ben Gertzfield 2017-01-19 10:24:30 -08:00
parent 449a32d4ae
commit cf8fba0715
1 changed files with 1 additions and 1 deletions

View File

@ -409,7 +409,7 @@ public class BaseCSharpTest implements RuntimeTestSupport /*, SpecialRuntimeTest
}
private String locateTool(String tool) {
String[] roots = { "/opt/local/bin/", "/usr/bin/", "/usr/local/bin/" };
String[] roots = { "/opt/local/bin/", "/usr/local/bin/", "/usr/bin/" };
for(String root : roots) {
if(new File(root + tool).exists())
return root + tool;