mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-27 16:18:52 +00:00
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:
parent
7eb9c29a52
commit
d2dae08b03
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user