summaryrefslogtreecommitdiff
path: root/scripts/crosstool.sh
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-05-15 20:42:45 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-05-15 20:42:45 (GMT)
commitec169f9cc756f73cf55fa76537e819a1336314c2 (patch)
treefc212f0d60a4ecd5b568abc17e554adc5aff184b /scripts/crosstool.sh
parent77bf4f327a9873493338fbf2c1f61f6cd55279cc (diff)
Fix forcing source extraction.
/trunk/scripts/crosstool.sh | 5 3 2 0 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
Diffstat (limited to 'scripts/crosstool.sh')
-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