scripts/crosstool-NG.sh.in
changeset 2284 7ede374110e5
parent 2280 3d480d12124e
child 2286 4960f5d9f829
     1.1 --- a/scripts/crosstool-NG.sh.in	Tue Jan 25 21:59:03 2011 +0100
     1.2 +++ b/scripts/crosstool-NG.sh.in	Fri Jan 28 22:06:49 2011 +0100
     1.3 @@ -229,7 +229,7 @@
     1.4      if [ "${CT_FORCE_EXTRACT}" = "y" -a -d "${CT_SRC_DIR}" ]; then
     1.5          CT_DoForceRmdir "${CT_SRC_DIR}"
     1.6      fi
     1.7 -    if [ -d "${CT_INSTALL_DIR}" ]; then
     1.8 +    if [ -d "${CT_INSTALL_DIR}" -a "${CT_RM_RF_PREFIX_DIR}" = "y" ]; then
     1.9          CT_DoForceRmdir "${CT_INSTALL_DIR}"
    1.10      fi
    1.11      # In case we start anew, get rid of the previously saved state directory