mirror of
https://github.com/clearlinux/common.git
synced 2026-09-06 05:31:45 +00:00
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:
+1
-1
@@ -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 "."); \
|
||||
|
||||
Reference in New Issue
Block a user