# HG changeset patch # User "Yann E. MORIN" # Date 1218527239 0 # Node ID cc9721772cc6e0d28e854fc5ea9194ba502e8f00 # Parent 0725d7f8ab227718d9e82a966e3567be0b05ee19 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 -r 0725d7f8ab22 -r cc9721772cc6 scripts/functions --- a/scripts/functions Mon Aug 11 12:22:47 2008 +0000 +++ b/scripts/functions Tue Aug 12 07:47:19 2008 +0000 @@ -445,8 +445,6 @@ ;; 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 @@ 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 @@ 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 @@ # 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.