# HG changeset patch # User "Yann E. MORIN" # Date 1216736230 0 # Node ID c9bb5606a2650feb8af4560cb7c3a0e5d1204c64 # Parent 021546adce69bc1a827b03354a57146dc04881a4 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(-) diff -r 021546adce69 -r c9bb5606a265 scripts/build/debug/200-duma.sh --- a/scripts/build/debug/200-duma.sh Tue Jul 22 13:29:08 2008 +0000 +++ b/scripts/build/debug/200-duma.sh Tue Jul 22 14:17:10 2008 +0000 @@ -12,10 +12,13 @@ # 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() { diff -r 021546adce69 -r c9bb5606a265 scripts/build/debug/500-strace.sh --- a/scripts/build/debug/500-strace.sh Tue Jul 22 13:29:08 2008 +0000 +++ b/scripts/build/debug/500-strace.sh Tue Jul 22 14:17:10 2008 +0000 @@ -9,6 +9,10 @@ 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() {