From 2b673beb3ff472e42884117700938a5e0a171bab Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Tue, 11 Dec 2001 14:02:51 +0000 Subject: [PATCH] Don't keep old testcases around when doing a bootstrap build. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270116 13f79535-47bb-0310-9956-ffa450edef68 --- bootstrap.bat | 4 ++-- bootstrap.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bootstrap.bat b/bootstrap.bat index 937982de6..6b29a686a 100755 --- a/bootstrap.bat +++ b/bootstrap.bat @@ -20,8 +20,8 @@ echo ... Bootstrapping Ant Distribution if "%OS%" == "Windows_NT" if exist bootstrap\nul rmdir/s/q bootstrap if not "%OS%" == "Windows_NT" if exist bootstrap\nul deltree/y bootstrap -if "%OS%" == "Windows_NT" if exist build\classes\nul rmdir/s/q build\classes -if not "%OS%" == "Windows_NT" if exist build\classes\nul deltree/y build\classes +if "%OS%" == "Windows_NT" if exist build\nul rmdir/s/q build +if not "%OS%" == "Windows_NT" if exist build\nul deltree/y build SET LOCALCLASSPATH=lib\crimson.jar for %%i in (lib\optional\*.jar) do call src\script\lcp.bat %%i diff --git a/bootstrap.sh b/bootstrap.sh index f3bc685fb..3fcda10e1 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -72,8 +72,8 @@ if [ -d "bootstrap" ] ; then rm -r bootstrap fi -if [ -d "build/classes" ] ; then - rm -r build/classes +if [ -d "build" ] ; then + rm -r build fi CLASSPATH=lib/crimson.jar:${CLASSPATH}