1.1 --- a/scripts/crosstool-NG.sh.in Wed Apr 06 22:30:57 2011 +0200
1.2 +++ b/scripts/crosstool-NG.sh.in Fri Apr 15 00:22:42 2011 +0200
1.3 @@ -208,9 +208,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