From 877fee63757e4f662952d316a792beec04950058 Mon Sep 17 00:00:00 2001 From: Patrick McCarty Date: Mon, 23 Apr 2018 13:46:48 -0700 Subject: [PATCH] sources: follow SOURCES_URL redirects; remove noproxy requirement The curl --no-proxy hint is not needed anymore, since Clear Linux OS has an autoproxy, and curl will honor proxy environment variables. Also, pass -L to curl to follow redirects, similarly to other curl calls in this makefile. Signed-off-by: Patrick McCarty --- Makefile.common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.common b/Makefile.common index 103b513..5defbc9 100644 --- a/Makefile.common +++ b/Makefile.common @@ -221,7 +221,7 @@ ifneq ($(strip $(SOURCES_URL)),) *://*) n="$$u" ;; \ *) n="$(SOURCES_URL)/$$u" ;; \ esac; \ - curl --fail --noproxy "*" "$$n" -o `basename "$$n"`; \ + curl --fail -L "$$n" -o `basename "$$n"`; \ done < upstream else @tmp=$$(mktemp -d -p "."); \