Skip to content

Commit

Permalink
Do not pretend we're downloading anything
Browse files Browse the repository at this point in the history
... when we're actually don't.

Signed-off-by: Alexey Neyman <stilor@att.net>
  • Loading branch information
stilor committed Mar 4, 2017
1 parent 1e06011 commit 865a095
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions scripts/build/libc/mingw.sh
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions scripts/functions
Expand Up @@ -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
Expand Down

0 comments on commit 865a095

Please sign in to comment.