diff --git a/scripts/build/debug/500-strace.sh b/scripts/build/debug/500-strace.sh index 38eaf889..f0cfe7f2 100644 --- a/scripts/build/debug/500-strace.sh +++ b/scripts/build/debug/500-strace.sh @@ -1,7 +1,8 @@ # Build script for strace do_debug_strace_get() { - CT_GetFile "strace-${CT_STRACE_VERSION}" http://kent.dl.sourceforge.net/sourceforge/strace/ + local base_url="http://kent.dl.sourceforge.net/project/strace/strace" + CT_GetFile "strace-${CT_STRACE_VERSION}" "${base_url}/${CT_STRACE_VERSION}" # Downloading from sourceforge leaves garbage, cleanup CT_DoExecLog ALL rm -f "${CT_TARBALLS_DIR}/showfiles.php"* }