bodewig     2003/09/02 07:54:14

  Modified:    .        patch.xml
  Log:
  fix inconsistent handling of cvs.found - fail if we cannot use CVS
  
  Revision  Changes    Path
  1.6       +3 -1      ant/patch.xml
  
  Index: patch.xml
  ===================================================================
  RCS file: /home/cvs/ant/patch.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- patch.xml 23 Jun 2003 11:54:14 -0000      1.5
  +++ patch.xml 2 Sep 2003 14:54:14 -0000       1.6
  @@ -22,7 +22,9 @@
           </or>
       </condition>
   
  -    <target name="createpatch" if="cvs.found">
  +    <target name="createpatch">
  +        <fail unless="cvs.found"
  +              message="You need a version of cvs to create the patch"/>
           <cvs command="-q diff -u" output="${patch.file}"/>
       </target>
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to