From 1319b8882a1e8a719a1143b760a77e441bcd66ec Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Wed, 4 Jul 2007 21:56:14 +0000 Subject: Before trying to download sstrip (from buildroot), try a local copy first. diff --git a/scripts/build/tools/sstrip.sh b/scripts/build/tools/sstrip.sh index f274997..850ef25 100644 --- a/scripts/build/tools/sstrip.sh +++ b/scripts/build/tools/sstrip.sh @@ -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}"` -- cgit v0.10.2-6-g49f6