Remove garbage files left behind by downloads from sourceforge.net.

/trunk/scripts/build/debug/500-strace.sh |    4     4     0     0 ++++
 /trunk/scripts/build/debug/200-duma.sh   |    5     4     1     0 ++++-
 2 files changed, 8 insertions(+), 1 deletion(-)
This commit is contained in:
Yann E. MORIN" 2008-07-22 14:17:10 +00:00
parent 7abf35f472
commit f4f3f526b8
2 changed files with 8 additions and 1 deletions

View File

@ -12,10 +12,13 @@ do_debug_duma_get() {
# D.U.M.A. doesn't separate its name from its version with a dash,
# but with an underscore. Create a link so that crosstool-NG can
# work correctly:
cd "${CT_TARBALLS_DIR}"
CT_Pushd "${CT_TARBALLS_DIR}"
duma_ext=$(CT_GetFileExtension "duma_${CT_DUMA_VERSION}")
rm -f "duma-${CT_DUMA_VERSION}${duma_ext}"
ln -sf "duma_${CT_DUMA_VERSION}${duma_ext}" "duma-${CT_DUMA_VERSION}${duma_ext}"
# Downloading from sourceforge leaves garbage, cleanup
rm -f showfiles.php\?group_id\=*
CT_Popd
}
do_debug_duma_extract() {

View File

@ -9,6 +9,10 @@ do_print_filename() {
do_debug_strace_get() {
CT_GetFile "strace-${CT_STRACE_VERSION}" http://mesh.dl.sourceforge.net/sourceforge/strace/
# Downloading from sourceforge leaves garbage, cleanup
CT_Pushd "${CT_TARBALLS_DIR}"
rm -f showfiles.php\?group_id\=*
CT_Popd
}
do_debug_strace_extract() {