diff --git a/proposal/myrmidon/src/java/org/apache/myrmidon/framework/exec/impl/DefaultExecManager.java b/proposal/myrmidon/src/java/org/apache/myrmidon/framework/exec/impl/DefaultExecManager.java index fdc4fc593..fc646c0b0 100644 --- a/proposal/myrmidon/src/java/org/apache/myrmidon/framework/exec/impl/DefaultExecManager.java +++ b/proposal/myrmidon/src/java/org/apache/myrmidon/framework/exec/impl/DefaultExecManager.java @@ -154,7 +154,7 @@ public class DefaultExecManager launcher = new ScriptCommandLauncher( script ); } } - else if( ( new Os( "netware" ) ).eval() ) + else if( Os.isFamily( "netware" ) ) { // NetWare. Need to determine which JDK we're running in final String perlScript = resolveCommand( antDir, "bin/antRun.pl" );