mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 05:52:26 +00:00
modified to recognize Mac.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3101 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
9b5984dfb4
commit
d1b2723770
1 file changed
+2
-1
@@ -1379,7 +1379,8 @@ public final class Hudson extends View implements ItemGroup<TopLevelItem>, Node
|
||||
}
|
||||
|
||||
File toolsJar = new File(f,"lib/tools.jar");
|
||||
if(!toolsJar.exists()) {
|
||||
File mac = new File(f,"Classes/classes.jar");
|
||||
if(!toolsJar.exists() && !mac.exists()) {
|
||||
error(f+" doesn't look like a JDK directory");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user