From fd20f409681d2f4ae02191059c7d474387f04b82 Mon Sep 17 00:00:00 2001 From: Peter Donald Date: Sun, 30 Dec 2001 06:53:15 +0000 Subject: [PATCH] Use simpler isFamily check for netware git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270465 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/myrmidon/framework/exec/impl/DefaultExecManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" );