Do not pretend we're downloading anything

... when we're actually don't.

Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
Alexey Neyman 2017-03-03 16:45:05 -08:00
parent 1e060114a2
commit 865a095d70
2 changed files with 3 additions and 5 deletions

View File

@ -4,16 +4,14 @@
CT_WINAPI_VERSION_DOWNLOADED=
do_libc_get() {
CT_DoStep INFO "Fetching mingw-w64 source for ${CT_WINAPI_VERSION}"
if [ "${CT_WINAPI_VERSION}" = "devel" ]; then
CT_GetGit "mingw-w64" "ref=HEAD" "git://git.code.sf.net/p/mingw-w64/mingw-w64" CT_WINAPI_VERSION_DOWNLOADED
CT_DoLog EXTRA "Fetched as ${CT_WINAPI_VERSION_DOWNLOADED}"
CT_DoLog DEBUG "Fetched mingw-w64 as ${CT_WINAPI_VERSION_DOWNLOADED}"
else
CT_GetFile "mingw-w64-v${CT_WINAPI_VERSION}" \
http://downloads.sourceforge.net/sourceforge/mingw-w64
CT_WINAPI_VERSION_DOWNLOADED=v${CT_WINAPI_VERSION}
fi
CT_EndStep
}
do_libc_extract() {

View File

@ -1006,10 +1006,10 @@ CT_GetGit() {
CT_DoLog WARN "Ambiguous ref ${ref} at ${url}, using first"
fi
local cset=$(echo "$matches" | head -n1 | cut -c1-6)
CT_DoLog INFO "ref ${ref} at ${url} has cset of ${cset}"
CT_DoLog DEBUG "ref ${ref} at ${url} has cset of ${cset}"
else
local cset=${cset_or_ref}
CT_DoLog INFO "cset ${cset}"
CT_DoLog DEBUG "cset ${cset}"
fi
if [ -n "${_out_cset}" ]; then