When sstrip is already downloaded, link instead of copying (as for all other
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Sep 16 08:27:37 2007 +0000 (2007-09-16)
changeset 3934e27d82d5c5d
parent 392 ee71450c5a6f
child 394 5e5d02b2d786
When sstrip is already downloaded, link instead of copying (as for all other
components).
A little eye-candy fix.
scripts/build/tools/sstrip.sh
     1.1 --- a/scripts/build/tools/sstrip.sh	Sun Sep 16 08:24:55 2007 +0000
     1.2 +++ b/scripts/build/tools/sstrip.sh	Sun Sep 16 08:27:37 2007 +0000
     1.3 @@ -42,9 +42,9 @@
     1.4                  return 0
     1.5              fi
     1.6              if [ -f "${CT_LOCAL_TARBALLS_DIR}/sstrip.c" ]; then
     1.7 -                CT_DoLog EXTRA "Retrieving \"sstrip.c\" from local storage"
     1.8 -                cp -v "${CT_LOCAL_TARBALLS_DIR}/sstrip.c"   \
     1.9 -                      "${CT_TARBALLS_DIR}/sstrip.c"         2>&1 |CT_DoLog ALL
    1.10 +                CT_DoLog EXTRA "Using \"sstrip\" from local storage"
    1.11 +                ln -sf "${CT_LOCAL_TARBALLS_DIR}/sstrip.c"  \
    1.12 +                       "${CT_TARBALLS_DIR}/sstrip.c"        2>&1 |CT_DoLog ALL
    1.13                  return 0
    1.14              fi
    1.15              CT_Pushd "${CT_TARBALLS_DIR}"