diff options
Diffstat (limited to 'scripts/functions')
-rw-r--r-- | scripts/functions | 3 |
1 files changed, 2 insertions, 1 deletions
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 |