diff -r 0ca0f85a4b2a -r 1c0580ebdf9d scripts/crosstool-NG.sh.in --- a/scripts/crosstool-NG.sh.in Wed Apr 06 22:30:57 2011 +0200 +++ b/scripts/crosstool-NG.sh.in Sun Jul 10 00:02:05 2011 +0200 @@ -208,9 +208,8 @@ CT_DoLog EXTRA "Preparing working directories" # Ah! The build directory shall be eradicated, even if we restart! -if [ -d "${CT_BUILD_DIR}" ]; then - CT_DoForceRmdir "${CT_BUILD_DIR}" -fi +# Ditto for the build tools install dir +CT_DoForceRmdir "${CT_BUILD_DIR}" "${CT_BUILDTOOLS_PREFIX_DIR}" # Don't eradicate directories if we need to restart if [ -z "${CT_RESTART}" ]; then