1.1 --- a/scripts/build/tools/200-sstrip.sh Fri May 02 21:59:14 2008 +0000
1.2 +++ b/scripts/build/tools/200-sstrip.sh Fri Jun 27 14:55:22 2008 +0000
1.3 @@ -42,24 +42,24 @@
1.4 return 0
1.5 fi
1.6 if [ -f "${CT_LOCAL_TARBALLS_DIR}/sstrip.c" ]; then
1.7 - CT_DoLog EXTRA "Using \"sstrip\" from local storage"
1.8 + CT_DoLog EXTRA "Using 'sstrip' from local storage"
1.9 ln -sf "${CT_LOCAL_TARBALLS_DIR}/sstrip.c" \
1.10 "${CT_TARBALLS_DIR}/sstrip.c" 2>&1 |CT_DoLog ALL
1.11 return 0
1.12 fi
1.13 CT_Pushd "${CT_TARBALLS_DIR}"
1.14 - CT_DoLog EXTRA "Retrieving \"sstrip\" from network"
1.15 - http_data=`lynx -dump "${sstrip_url}"`
1.16 - link=`echo -en "${http_data}" \
1.17 + CT_DoLog EXTRA "Retrieving 'sstrip' from network"
1.18 + http_data=$(lynx -dump "${sstrip_url}")
1.19 + link=$(echo -en "${http_data}" \
1.20 |egrep '\[[[:digit:]]+\]download' \
1.21 - |sed -r -e 's/.*\[([[:digit:]]+)\]download.*/\1/;'`
1.22 - rev_url=`echo -en "${http_data}" \
1.23 + |sed -r -e 's/.*\[([[:digit:]]+)\]download.*/\1/;')
1.24 + rev_url=$(echo -en "${http_data}" \
1.25 |egrep '^ *8\.' \
1.26 - |sed -r -e 's/^ *'${link}'\. +(.+)$/\1/;'`
1.27 + |sed -r -e 's/^ *'${link}'\. +(.+)$/\1/;')
1.28 CT_DoGetFile "${rev_url}" 2>&1 |CT_DoLog ALL
1.29 mv -v sstrip.c?* sstrip.c 2>&1 |CT_DoLog DEBUG
1.30 if [ "${CT_SAVE_TARBALLS}" = "y" ]; then
1.31 - CT_DoLog EXTRA "Saving \"sstrip.c\" to local storage"
1.32 + CT_DoLog EXTRA "Saving 'sstrip.c' to local storage"
1.33 cp -v sstrip.c "${CT_LOCAL_TARBALLS_DIR}" 2>&1 |CT_DoLog DEBUG
1.34 fi
1.35 CT_Popd