Fix saving and using local copy of eglibc tarballs.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Aug 12 09:14:55 2008 +0000 (2008-08-12)
changeset 7901007f2b72414
parent 789 25e71f078a2d
child 791 78b6d5e1213d
Fix saving and using local copy of eglibc tarballs.

/trunk/scripts/build/libc_eglibc.sh | 10 5 5 0 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
scripts/build/libc_eglibc.sh
     1.1 --- a/scripts/build/libc_eglibc.sh	Tue Aug 12 07:47:51 2008 +0000
     1.2 +++ b/scripts/build/libc_eglibc.sh	Tue Aug 12 09:14:55 2008 +0000
     1.3 @@ -74,20 +74,20 @@
     1.4         [ "${CT_FORCE_DOWNLOAD}" != "y" ]; then
     1.5          CT_DoLog EXTRA "Got 'eglibc-${CT_LIBC_VERSION}' from local storage"
     1.6          for file in ${eglibc} ${eglibc_linuxthreads} ${eglibc_localedef} ${eglibc_ports}; do
     1.7 -            CT_DoExecLog ALL ln -s "${CT_LOCAL_TARBALLS_DIR}/${file}" "${file}"
     1.8 +            CT_DoExecLog ALL ln -s "${CT_LOCAL_TARBALLS_DIR}/${file}" "${CT_TARBALLS_DIR}/${file}"
     1.9          done
    1.10          return 0
    1.11      fi
    1.12  
    1.13      # Not found locally, try from the network
    1.14 -    CT_DoLog EXTRA "Retrieving eglibc from network"
    1.15 +    CT_DoLog EXTRA "Retrieving 'eglibc-${CT_LIBC_VERSION}'"
    1.16      do_eglibc_get
    1.17  
    1.18      if [ "${CT_SAVE_TARBALLS}" = "y" ]; then
    1.19 -        CT_DoLog EXTRA "Saving eglibc files to local storage"
    1.20 +        CT_DoLog EXTRA "Saving 'eglibc-${CT_LIBC_VERSION}' to local storage"
    1.21          for file in ${eglibc} ${eglibc_linuxthreads} ${eglibc_localedef} ${eglibc_ports}; do
    1.22 -            CT_DoExecLog ALL mv -f "${file}" "${CT_LOCAL_TARBALLS_DIR}"
    1.23 -            CT_DoExecLog ALL ln -s "${CT_LOCAL_TARBALLS_DIR}/${file}" "${file}"
    1.24 +            CT_DoExecLog ALL mv -f "${CT_TARBALLS_DIR}/${file}" "${CT_LOCAL_TARBALLS_DIR}"
    1.25 +            CT_DoExecLog ALL ln -s "${CT_LOCAL_TARBALLS_DIR}/${file}" "${CT_TARBALLS_DIR}/${file}"
    1.26          done
    1.27      fi
    1.28