From 398b1b8e692c1cd7d453ca59a78da570feea0769 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 16 Sep 2007 08:27:37 +0000 Subject: When sstrip is already downloaded, link instead of copying (as for all other components). A little eye-candy fix. diff --git a/scripts/build/tools/sstrip.sh b/scripts/build/tools/sstrip.sh index d1306c6..ca4b51e 100644 --- a/scripts/build/tools/sstrip.sh +++ b/scripts/build/tools/sstrip.sh @@ -42,9 +42,9 @@ case "${CT_SSTRIP_FROM}" in return 0 fi if [ -f "${CT_LOCAL_TARBALLS_DIR}/sstrip.c" ]; then - CT_DoLog EXTRA "Retrieving \"sstrip.c\" from local storage" - cp -v "${CT_LOCAL_TARBALLS_DIR}/sstrip.c" \ - "${CT_TARBALLS_DIR}/sstrip.c" 2>&1 |CT_DoLog ALL + CT_DoLog EXTRA "Using \"sstrip\" from local storage" + ln -sf "${CT_LOCAL_TARBALLS_DIR}/sstrip.c" \ + "${CT_TARBALLS_DIR}/sstrip.c" 2>&1 |CT_DoLog ALL return 0 fi CT_Pushd "${CT_TARBALLS_DIR}" -- cgit v0.10.2-6-g49f6