Skip to content

Commit

Permalink
support new anaconda mac location.
Browse files Browse the repository at this point in the history
  • Loading branch information
parrt committed Mar 11, 2021
1 parent d889ba8 commit 8d621b7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ public String execModule(String fileName) {
private String locateTool(List<String> tools) {
String[] roots = {
"/opt/local/bin", "/usr/bin/", "/usr/local/bin/",
"/Users/"+System.getProperty("user.name")+"/anaconda3/bin/"
"/Users/"+System.getProperty("user.name")+"/anaconda3/bin/",
"/Users/"+System.getProperty("user.name")+"/opt/anaconda3/bin/"
};
for(String root : roots) {
for (String tool : tools) {
Expand Down

0 comments on commit 8d621b7

Please sign in to comment.