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:
committed by
Kyle McCormick
parent
25c78324d1
commit
de50f97d90
2
Makefile
2
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user