1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 01:36:01 +02:00

Fix clean failing when dsf-gdb ant script has never been executed

Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
This commit is contained in:
Marc-Andre Laperle 2013-10-29 01:04:20 -04:00
parent e13572fc4c
commit 972006b048

View file

@ -10,7 +10,11 @@
<exec executable="make" dir="${src_dir}" />
</target>
<target name="clean" description="Delete Test Applications">
<condition property="binDirExists">
<available file="${bin_dir}" type="dir"/>
</condition>
<target name="clean" description="Delete Test Applications" if="binDirExists">
<delete>
<fileset dir="${bin_dir}" includes="*"/>
</delete>