diff options
-rw-r--r-- | scripts/crosstool-NG.sh.in | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/crosstool-NG.sh.in b/scripts/crosstool-NG.sh.in index a3869c15..975024a9 100644 --- a/scripts/crosstool-NG.sh.in +++ b/scripts/crosstool-NG.sh.in @@ -208,9 +208,8 @@ CT_TOOLCHAIN_ID="crosstool-${CT_VERSION} build ${CT_STAR_DATE_HUMAN} by ${CT_SYS 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 |