ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@locus.apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Patch.java
Date Wed, 12 Jul 2000 12:43:01 GMT
bodewig     00/07/12 05:43:01

  Modified:    src/main/org/apache/tools/ant/taskdefs Patch.java
  Log:
  strip attribute didn't work.
  
  Revision  Changes    Path
  1.3       +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Patch.java
  
  Index: Patch.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Patch.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Patch.java	2000/07/11 11:14:48	1.2
  +++ Patch.java	2000/07/12 12:43:00	1.3
  @@ -107,7 +107,7 @@
        * <p>patch's <i>-p</i> option.
        */
       public void setStrip(int num) throws BuildException {
  -        if (strip < 0) {
  +        if (num < 0) {
               throw new BuildException("strip has to be >= 0", location);
           }
           strip = num;
  
  
  

Mime
View raw message