ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Chmod.java
Date Sat, 17 Mar 2001 15:24:47 GMT
rubys       01/03/17 07:24:47

  Modified:    src/main/org/apache/tools/ant/taskdefs Chmod.java
  Log:
  Fails on Windows
  
  Revision  Changes    Path
  1.13      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Chmod.java
  
  Index: Chmod.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Chmod.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- Chmod.java	2001/03/14 11:47:08	1.12
  +++ Chmod.java	2001/03/17 15:24:47	1.13
  @@ -169,7 +169,7 @@
           if (defaultSetDefined || defaultSet.getDir(project) == null) {
               super.execute();
           }
  -        else {
  +        else if (isValidOs()) {
               // we are chmodding the given directory
               createArg().setValue(defaultSet.getDir(project).getPath());
               Execute execute = prepareExec();
  
  
  

Mime
View raw message