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 <patrick.mccarty@intel.com>
This commit is contained in:
Patrick McCarty
2018-04-23 13:47:24 -07:00
parent e921a2a883
commit 877fee6375
+1 -1
View File
@@ -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 "."); \