Backport #849 from trunk: 1.2
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Jul 26 15:12:33 2008 +0000 (2008-07-26)
branch1.2
changeset 730823ac8f8e9fd
parent 708 ae062f9e3c6d
child 731 65614732cfe7
Backport #849 from trunk:
Remove garbage files left behind by downloads from sourceforge.net.

/branches/1.2/scripts/build/debug/500-strace.sh | 4 4 0 0 ++++
/branches/1.2/scripts/build/debug/200-duma.sh | 5 4 1 0 ++++-
2 files changed, 8 insertions(+), 1 deletion(-)
scripts/build/debug/200-duma.sh
scripts/build/debug/500-strace.sh
     1.1 --- a/scripts/build/debug/200-duma.sh	Tue Jul 22 09:19:42 2008 +0000
     1.2 +++ b/scripts/build/debug/200-duma.sh	Sat Jul 26 15:12:33 2008 +0000
     1.3 @@ -12,10 +12,13 @@
     1.4      # D.U.M.A. doesn't separate its name from its version with a dash,
     1.5      # but with an underscore. Create a link so that crosstool-NG can
     1.6      # work correctly:
     1.7 -    cd "${CT_TARBALLS_DIR}"
     1.8 +    CT_Pushd "${CT_TARBALLS_DIR}"
     1.9      duma_ext=$(CT_GetFileExtension "duma_${CT_DUMA_VERSION}")
    1.10      rm -f "duma-${CT_DUMA_VERSION}${duma_ext}"
    1.11      ln -sf "duma_${CT_DUMA_VERSION}${duma_ext}" "duma-${CT_DUMA_VERSION}${duma_ext}"
    1.12 +    # Downloading from sourceforge leaves garbage, cleanup
    1.13 +    rm -f showfiles.php\?group_id\=*
    1.14 +    CT_Popd
    1.15  }
    1.16  
    1.17  do_debug_duma_extract() {
     2.1 --- a/scripts/build/debug/500-strace.sh	Tue Jul 22 09:19:42 2008 +0000
     2.2 +++ b/scripts/build/debug/500-strace.sh	Sat Jul 26 15:12:33 2008 +0000
     2.3 @@ -9,6 +9,10 @@
     2.4  
     2.5  do_debug_strace_get() {
     2.6      CT_GetFile "strace-${CT_STRACE_VERSION}" http://mesh.dl.sourceforge.net/sourceforge/strace/
     2.7 +    # Downloading from sourceforge leaves garbage, cleanup
     2.8 +    CT_Pushd "${CT_TARBALLS_DIR}"
     2.9 +    rm -f showfiles.php\?group_id\=*
    2.10 +    CT_Popd
    2.11  }
    2.12  
    2.13  do_debug_strace_extract() {