build: replace wget->curl, so make upgrade works in tutor

tutor's containers don't have wget installed, and curl -L works
just as well and is installed into basically everything
This commit is contained in:
Kyle D. McCormick
2024-04-16 16:30:10 -04:00
committed by Kyle McCormick
parent 25c78324d1
commit de50f97d90

View File

@@ -130,7 +130,7 @@ endef
COMMON_CONSTRAINTS_TXT=requirements/common_constraints.txt
.PHONY: $(COMMON_CONSTRAINTS_TXT)
$(COMMON_CONSTRAINTS_TXT):
wget -O "$(@)" https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
curl -L https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt > "$(@)"
printf "$(COMMON_CONSTRAINTS_TEMP_COMMENT)" | cat - $(@) > temp && mv temp $(@)
compile-requirements: export CUSTOM_COMPILE_COMMAND=make upgrade