summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-05-15 21:02:34 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-05-15 21:02:34 (GMT)
commitd2dae08b03a41b1000efc44b9c8eb224fe2a8d90 (patch)
treea304f50da518ad8acd69400af8f9c6912f84a675
parent7eb9c29a52e090558b60576630b6f9fd431fb47e (diff)
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(-)
-rwxr-xr-xscripts/crosstool.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/crosstool.sh b/scripts/crosstool.sh
index 675a330..529e553 100755
--- a/scripts/crosstool.sh
+++ b/scripts/crosstool.sh
@@ -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