From 77506c0a67e35c4c263decb6954c0e360aa57e6b Mon Sep 17 00:00:00 2001 From: Ivan Mikushin Date: Tue, 22 Mar 2016 16:27:11 -0700 Subject: [PATCH] Replace curl with wget in Makefile Because curl exits cleanly on HTTP errors (like 404 Not Found) and output filled with the error page content --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 48fef23b..92ca9aaa 100644 --- a/Makefile +++ b/Makefile @@ -23,12 +23,12 @@ endif assets/docker: mkdir -p $(dir $@) - curl -L "$(DOCKER_BINARY_URL)" > $@ + wget -O - "$(DOCKER_BINARY_URL)" > $@ chmod +x $@ assets/selinux/policy.29: mkdir -p $(dir $@) - curl -L "$(SELINUX_POLICY_URL)" > $@ + wget -O - "$(SELINUX_POLICY_URL)" > $@ ifdef COMPILED_KERNEL_URL @@ -42,7 +42,7 @@ dist/artifacts/vmlinuz: build/kernel/ build/kernel/: mkdir -p $@ - curl -L "$(COMPILED_KERNEL_URL)" | tar -xzf - -C $@ + wget -O - "$(COMPILED_KERNEL_URL)" | tar -xzf - -C $@ dist/artifacts/initrd: bin/ros assets/docker assets/selinux/policy.29 build/kernel/ build/images.tar