summaryrefslogtreecommitdiff
path: root/patch.xml
diff options
context:
space:
mode:
authorStefan Bodewig <bodewig@apache.org>2003-09-02 14:54:14 +0000
committerStefan Bodewig <bodewig@apache.org>2003-09-02 14:54:14 +0000
commit8dde1c7b9960113a9e9678ba7d7b345e0cbbb5ff (patch)
tree0fbac2cf5bb41c549f05ed82c5019ea5326a065e /patch.xml
parent116be6721486d14e4510c1020c99d81f71fe7969 (diff)
downloadant-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
Diffstat (limited to 'patch.xml')
-rw-r--r--patch.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/patch.xml b/patch.xml
index 4b8e4457d..c8907f728 100644
--- a/patch.xml
+++ b/patch.xml
@@ -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>