diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-08-12 07:47:19 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-08-12 07:47:19 +0000 |
commit | 5c18ddd8b97fe5142c4fe4bbcc1ac3bf3846a04f (patch) | |
tree | 68d913b73ed97f4cc45f6904d620a6e9aab8d545 /scripts/functions | |
parent | 59ef10f5d6419ff759ed58cf1f352205784e6eab (diff) | |
download | crosstool-ng-5c18ddd8b97fe5142c4fe4bbcc1ac3bf3846a04f.tar.gz crosstool-ng-5c18ddd8b97fe5142c4fe4bbcc1ac3bf3846a04f.tar.bz2 crosstool-ng-5c18ddd8b97fe5142c4fe4bbcc1ac3bf3846a04f.zip |
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(-)
Diffstat (limited to 'scripts/functions')
-rw-r--r-- | scripts/functions | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/functions b/scripts/functions index e6920c12..d877d3b1 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. |