1.1 --- a/scripts/crosstool-NG.sh.in Sat Jul 09 19:40:24 2011 +0200
1.2 +++ b/scripts/crosstool-NG.sh.in Sun Jul 10 00:02:05 2011 +0200
1.3 @@ -213,9 +213,8 @@
1.4 CT_DoLog EXTRA "Preparing working directories"
1.5
1.6 # Ah! The build directory shall be eradicated, even if we restart!
1.7 -if [ -d "${CT_BUILD_DIR}" ]; then
1.8 - CT_DoForceRmdir "${CT_BUILD_DIR}"
1.9 -fi
1.10 +# Ditto for the build tools install dir
1.11 +CT_DoForceRmdir "${CT_BUILD_DIR}" "${CT_BUILDTOOLS_PREFIX_DIR}"
1.12
1.13 # Don't eradicate directories if we need to restart
1.14 if [ -z "${CT_RESTART}" ]; then