ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/condition Os.java
Date Mon, 21 Jul 2003 09:13:37 GMT
bodewig     2003/07/21 02:13:37

  Modified:    src/main/org/apache/tools/ant/taskdefs/condition Os.java
  Log:
  OpenVMS is not Unix
  
  Revision  Changes    Path
  1.29      +2 -1      ant/src/main/org/apache/tools/ant/taskdefs/condition/Os.java
  
  Index: Os.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/condition/Os.java,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- Os.java	19 Jul 2003 11:20:15 -0000	1.28
  +++ Os.java	21 Jul 2003 09:13:37 -0000	1.29
  @@ -222,6 +222,7 @@
                       isFamily = osName.indexOf("nonstop_kernel") > -1;
                   } else if (family.equals("unix")) {
                       isFamily = pathSep.equals(":")
  +                        && !isFamily("openvms")
                           && (!isFamily("mac") || osName.endsWith("x"));
                   } else if (family.equals("win9x")) {
                       isFamily = isFamily("windows")
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message