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}