summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build')
-rw-r--r--scripts/build/tools/sstrip.sh6
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}"`