diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-08-11 09:42:13 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-08-11 09:42:13 +0000 |
commit | 57755ca74b11a2f23cd6c2fd8eef74a07b650a01 (patch) | |
tree | 6915cce3d6d720801394ded9524dc3feec769a73 | |
parent | dde2a329d716626c7978d97666f3a2ca403db989 (diff) | |
download | crosstool-ng-57755ca74b11a2f23cd6c2fd8eef74a07b650a01.tar.gz crosstool-ng-57755ca74b11a2f23cd6c2fd8eef74a07b650a01.tar.bz2 crosstool-ng-57755ca74b11a2f23cd6c2fd8eef74a07b650a01.zip |
Move two log messages around, so that output looks better.
/trunk/scripts/functions | 4 2 2 0 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
-rw-r--r-- | scripts/functions | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/functions b/scripts/functions index e65fddf1..47f4202d 100644 --- a/scripts/functions +++ b/scripts/functions @@ -488,6 +488,7 @@ CT_GetFile() { CT_DoLog DEBUG "Trying '${url}/${file}${ext}'" CT_DoGetFile "${url}/${file}${ext}" if [ -f "${file}${ext}" ]; then + CT_DoLog EXTRA "Got '${file}' from the LAN mirror" if [ "${CT_SAVE_TARBALLS}" = "y" ]; then # The file may already exist if downloads are forced: remove it first CT_DoLog EXTRA "Saving '${file}' to local storage" @@ -495,7 +496,6 @@ CT_GetFile() { CT_DoExecLog ALL mv -f "${file}${ext}" "${CT_LOCAL_TARBALLS_DIR}" CT_DoExecLog ALL ln -s "${CT_LOCAL_TARBALLS_DIR}/${file}${ext}" "${file}${ext}" fi - CT_DoLog EXTRA "Got '${file}' from the LAN mirror" return 0 fi done @@ -510,6 +510,7 @@ CT_GetFile() { CT_DoLog DEBUG "Trying '${url}/${file}${ext}'" CT_DoGetFile "${url}/${file}${ext}" if [ -f "${file}${ext}" ]; then + CT_DoLog EXTRA "Got '${file}' from the Internet" if [ "${CT_SAVE_TARBALLS}" = "y" ]; then # The file may already exist if downloads are forced: remove it first CT_DoLog EXTRA "Saving '${file}' to local storage" @@ -517,7 +518,6 @@ CT_GetFile() { CT_DoExecLog ALL mv -f "${file}${ext}" "${CT_LOCAL_TARBALLS_DIR}" CT_DoExecLog ALL ln -s "${CT_LOCAL_TARBALLS_DIR}/${file}${ext}" "${file}${ext}" fi - CT_DoLog EXTRA "Got '${file}' from the Internet" return 0 fi done |