diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-07-04 21:56:14 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-07-04 21:56:14 (GMT) |
commit | 1319b8882a1e8a719a1143b760a77e441bcd66ec (patch) | |
tree | fff7c5cd4008af6c5937d39b3fff175a5c1a690e /scripts/build/tools/sstrip.sh | |
parent | 65919faa70d29ca0fe3868e86f449691741b865f (diff) |
Before trying to download sstrip (from buildroot), try a local copy first.
Diffstat (limited to 'scripts/build/tools/sstrip.sh')
-rw-r--r-- | scripts/build/tools/sstrip.sh | 6 |
1 files changed, 6 insertions, 0 deletions
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}"` |