From 361c6173087b814a47492671521d74684d959734 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sat, 19 May 2007 13:10:11 +0000 Subject: Correctly handle the libfloat case: download, extract and patch sub-actions. Small improvement in messages in scipts/functions when retrieving a file. --- scripts/functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/functions') diff --git a/scripts/functions b/scripts/functions index b905d320..41942a45 100644 --- a/scripts/functions +++ b/scripts/functions @@ -294,7 +294,6 @@ CT_GetFile() { return 0 fi - CT_DoLog EXTRA "Retrieving \"${file}\"" CT_Pushd "${CT_TARBALLS_DIR}" # File not yet downloaded, try to get it got_it=0 @@ -303,11 +302,13 @@ CT_GetFile() { for ext in .tar.bz2 .tar.gz .tgz .tar; do if [ -r "${CT_LOCAL_TARBALLS_DIR}/${file}${ext}" -a \ "${CT_FORCE_DOWNLOAD}" != "y" ]; then + CT_DoLog EXTRA "Copying \"${file}\" from local copy" cp -v "${CT_LOCAL_TARBALLS_DIR}/${file}${ext}" "${file}${ext}" |CT_DoLog DEBUG return 0 fi done # Try to download it + CT_DoLog EXTRA "Retrieving \"${file}\"" for ext in .tar.bz2 .tar.gz .tgz .tar; do # Try all urls in turn for url in "$@"; do -- cgit v1.2.3