mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-18 10:46:26 +00:00
Before trying to download sstrip (from buildroot), try a local copy first.
This commit is contained in:
parent
65919faa70
commit
1319b8882a
@ -41,6 +41,12 @@ case "${CT_SSTRIP_FROM}" in
|
||||
if [ -f "${CT_TARBALLS_DIR}/sstrip.c" ]; then
|
||||
return 0
|
||||
fi
|
||||
if [ -f "${CT_LOCAL_TARBALLS_DIR}/sstrip.c" ]; then
|
||||
CT_DoLog EXTRA "Copying \"sstrip.c\" from local copy"
|
||||
cp -v "${CT_LOCAL_TARBALLS_DIR}/sstrip.c" \
|
||||
"${CT_TARBALLS_DIR}/sstrip.c" 2>&1 |CT_DoLog ALL
|
||||
return 0
|
||||
fi
|
||||
CT_Pushd "${CT_TARBALLS_DIR}"
|
||||
CT_DoLog EXTRA "Retrieving \"sstrip\" (from buildroot's svn)"
|
||||
http_data=`lynx -dump "${sstrip_url}"`
|
||||
|
Loading…
Reference in New Issue
Block a user