changed WarExploder to account for when main directory it not called main

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15925 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
huybrechts committed 2009-03-01 20:28:08 +00:00
1 parent d35f675d3f
commit b2d911888f
1 file changed
-1
@@ -76,7 +76,6 @@ final class WarExploder {
}
for( ; d!=null; d=d.getParentFile()) {
if(!d.getName().equals("main")) continue;
if(new File(d,".hudson").exists())
break;
}