debug/duma: fix download url
author"Yann E. MORIN" <yann.morin.1998@free.fr>
Sun Jun 10 23:51:40 2012 +0200 (2012-06-10)
changeset 2992e31a3bfdf863
parent 2991 252ade1e9e17
child 2993 ddc327ebaef2
debug/duma: fix download url

Sourceforge has again changed its mirroring system... :-(

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
scripts/build/debug/200-duma.sh
     1.1 --- a/scripts/build/debug/200-duma.sh	Wed Jun 06 12:03:12 2012 +0200
     1.2 +++ b/scripts/build/debug/200-duma.sh	Sun Jun 10 23:51:40 2012 +0200
     1.3 @@ -1,10 +1,15 @@
     1.4  # Build script for D.U.M.A.
     1.5  
     1.6  do_debug_duma_get() {
     1.7 +    local dl_base
     1.8 +
     1.9 +    dl_base="http://dfn.dl.sourceforge.net/project/duma/duma"
    1.10 +    dl_base+="/${CT_DUMA_VERSION//_/.}"
    1.11 +
    1.12      # Downloading an non-existing file from sourceforge will give you an
    1.13      # HTML file containing an error message, instead of returning a 404.
    1.14      # Sigh...
    1.15 -    CT_GetFile "duma_${CT_DUMA_VERSION}" .tar.gz http://kent.dl.sourceforge.net/sourceforge/duma/
    1.16 +    CT_GetFile "duma_${CT_DUMA_VERSION}" .tar.gz "${dl_base}"
    1.17      # Downloading from sourceforge may leave garbage, cleanup
    1.18      CT_DoExecLog ALL rm -f "${CT_TARBALLS_DIR}/showfiles.php"*
    1.19  }