scripts/crosstool-NG.sh.in
changeset 2543 0e8ff5707383
parent 2503 b5541f296b92
child 2550 1ebc2248cc60
     1.1 --- a/scripts/crosstool-NG.sh.in	Fri Jun 03 17:21:56 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