diff options
author | Stefan Bodewig <bodewig@apache.org> | 2003-09-02 14:54:14 +0000 |
---|---|---|
committer | Stefan Bodewig <bodewig@apache.org> | 2003-09-02 14:54:14 +0000 |
commit | 8dde1c7b9960113a9e9678ba7d7b345e0cbbb5ff (patch) | |
tree | 0fbac2cf5bb41c549f05ed82c5019ea5326a065e | |
parent | 116be6721486d14e4510c1020c99d81f71fe7969 (diff) | |
download | ant-8dde1c7b9960113a9e9678ba7d7b345e0cbbb5ff.tar.gz |
fix inconsistent handling of cvs.found - fail if we cannot use CVS
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275169 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | patch.xml | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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> |