diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-05-15 20:42:45 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-05-15 20:42:45 (GMT) |
commit | ec169f9cc756f73cf55fa76537e819a1336314c2 (patch) | |
tree | fc212f0d60a4ecd5b568abc17e554adc5aff184b /scripts/crosstool.sh | |
parent | 77bf4f327a9873493338fbf2c1f61f6cd55279cc (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-x | scripts/crosstool.sh | 5 |
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 |