Backport #639 from trunk:

Fix forcing source extraction.

 /branches/1.1/scripts/crosstool.sh |    5     3     2     0 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
This commit is contained in:
Yann E. MORIN" 2008-05-15 21:02:34 +00:00
parent 7eb9c29a52
commit d2dae08b03

View File

@ -446,8 +446,9 @@ if [ -z "${CT_RESTART}" ]; then
if [ "${CT_ONLY_DOWNLOAD}" != "y" ]; then
if [ "${CT_FORCE_EXTRACT}" = "y" ]; then
mv "${CT_SRC_DIR}" "${CT_SRC_DIR}.$$"
setsid nohup rm -rf "${CT_SRC_DIR}.$$" >/dev/null 2>&1
mv "${CT_SRC_DIR}" "${CT_SRC_DIR}.force.$$"
setsid nohup rm -rf "${CT_SRC_DIR}.force.$$" >/dev/null 2>&1
mkdir -p "${CT_SRC_DIR}"
fi
CT_DoStep INFO "Extracting and patching toolchain components"
do_kernel_extract