summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@free.fr>2012-06-10 21:51:40 (GMT)
committerYann E. MORIN" <yann.morin.1998@free.fr>2012-06-10 21:51:40 (GMT)
commitd257c9901a08915b0df886e2ec055a94a404e70a (patch)
treeda42dbe7075bfafbf434bd15a3223e960d4f5ee7
parentd25ef222d9d7a9265b3751f38ffd613fd3ef9435 (diff)
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)
-rw-r--r--scripts/build/debug/200-duma.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/build/debug/200-duma.sh b/scripts/build/debug/200-duma.sh
index b46c0f1..99ff6aa 100644
--- a/scripts/build/debug/200-duma.sh
+++ b/scripts/build/debug/200-duma.sh
@@ -1,10 +1,15 @@
# Build script for D.U.M.A.
do_debug_duma_get() {
+ local dl_base
+
+ dl_base="http://dfn.dl.sourceforge.net/project/duma/duma"
+ dl_base+="/${CT_DUMA_VERSION//_/.}"
+
# Downloading an non-existing file from sourceforge will give you an
# HTML file containing an error message, instead of returning a 404.
# Sigh...
- CT_GetFile "duma_${CT_DUMA_VERSION}" .tar.gz http://kent.dl.sourceforge.net/sourceforge/duma/
+ CT_GetFile "duma_${CT_DUMA_VERSION}" .tar.gz "${dl_base}"
# Downloading from sourceforge may leave garbage, cleanup
CT_DoExecLog ALL rm -f "${CT_TARBALLS_DIR}/showfiles.php"*
}