From 5c18ddd8b97fe5142c4fe4bbcc1ac3bf3846a04f Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Tue, 12 Aug 2008 07:47:19 +0000 Subject: Be a little less verbose when retrieving files if they are already present. Be a little less verbose when extracting (and patching) files. /trunk/scripts/functions | 7 2 5 0 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/scripts/functions b/scripts/functions index e6920c1..d877d3b 100644 --- a/scripts/functions +++ b/scripts/functions @@ -445,8 +445,6 @@ CT_GetFile() { ;; esac - CT_DoLog EXTRA "Retrieving '${file}'" - # Do we already have it? ext=$(CT_GetFileExtension "${file}" ${first_ext}) if [ -n "${ext}" ]; then @@ -455,6 +453,7 @@ CT_GetFile() { fi # Try to retrieve the file + CT_DoLog EXTRA "Retrieving '${file}'" CT_Pushd "${CT_TARBALLS_DIR}" if [ -n "${CT_LOCAL_TARBALLS_DIR}" ]; then @@ -570,7 +569,7 @@ CT_ExtractAndPatch() { return 0 fi - CT_DoLog EXTRA "Extracting '${file}'" + CT_DoLog EXTRA "Extracting and patching '${file}'" case "${ext}" in .tar.bz2) CT_DoExecLog ALL tar xvjf "${full_file}";; .tar.gz|.tgz) CT_DoExecLog ALL tar xvzf "${full_file}";; @@ -593,8 +592,6 @@ CT_ExtractAndPatch() { # Kludge: outside this function, we wouldn't know if we had just extracted # a libc addon, or a plain package. Apply patches now. - CT_DoLog EXTRA "Patching '${file}'" - if [ "${libc_addon}" = "y" ]; then # Some addon tarballs directly contain the correct addon directory, # while others have the addon directory named after the tarball. -- cgit v0.10.2-6-g49f6