When sstrip is already downloaded, link instead of copying (as for all other

components).
A little eye-candy fix.
This commit is contained in:
Yann E. MORIN" 2007-09-16 08:27:37 +00:00
parent 0b39dc5751
commit 398b1b8e69

View File

@ -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}"