mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-04-23 02:13:38 +00:00
When sstrip is already downloaded, link instead of copying (as for all other
components). A little eye-candy fix.
This commit is contained in:
parent
0b39dc5751
commit
398b1b8e69
@ -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}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user