debug/duma: fix download url 1.15
author"Yann E. MORIN" <yann.morin.1998@free.fr>
Sun Jun 10 23:51:40 2012 +0200 (2012-06-10)
branch1.15
changeset 30041f1a622c5c09
parent 3003 3932bbf1fec2
child 3005 740867bd81ca
debug/duma: fix download url

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

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
(transplanted from e31a3bfdf8632635f61fd2069de6bf2b3df79621)
scripts/build/debug/200-duma.sh
     1.1 --- a/scripts/build/debug/200-duma.sh	Tue May 29 18:52:13 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  }