summaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-05-19 13:10:11 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-05-19 13:10:11 (GMT)
commit361c6173087b814a47492671521d74684d959734 (patch)
treefbec869dda3afb46673fbd7ad23e0f40a205e21a /scripts/functions
parent266d2ec7e52c0719cb8c0e01b548193712aa744c (diff)
Correctly handle the libfloat case: download, extract and patch sub-actions.
Small improvement in messages in scipts/functions when retrieving a file.
Diffstat (limited to 'scripts/functions')
-rw-r--r--scripts/functions3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions
index b905d32..41942a4 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