diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-05-15 21:02:34 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-05-15 21:02:34 +0000 |
commit | d2dae08b03a41b1000efc44b9c8eb224fe2a8d90 (patch) | |
tree | a304f50da518ad8acd69400af8f9c6912f84a675 | |
parent | 7eb9c29a52e090558b60576630b6f9fd431fb47e (diff) | |
download | crosstool-ng-d2dae08b03a41b1000efc44b9c8eb224fe2a8d90.tar.gz crosstool-ng-d2dae08b03a41b1000efc44b9c8eb224fe2a8d90.tar.bz2 crosstool-ng-d2dae08b03a41b1000efc44b9c8eb224fe2a8d90.zip |
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-x | scripts/crosstool.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/crosstool.sh b/scripts/crosstool.sh index 675a3308..529e5536 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 |