summaryrefslogtreecommitdiff
path: root/scripts/build/tools
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-09-16 08:27:37 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-09-16 08:27:37 (GMT)
commit398b1b8e692c1cd7d453ca59a78da570feea0769 (patch)
treea53584264c82170a40b166e0bc94ed993fd5c58f /scripts/build/tools
parent0b39dc5751c933c882c804ba241eac64832015a7 (diff)
When sstrip is already downloaded, link instead of copying (as for all other
components). A little eye-candy fix.
Diffstat (limited to 'scripts/build/tools')
-rw-r--r--scripts/build/tools/sstrip.sh6
1 files changed, 3 insertions, 3 deletions
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}"