From d7e08cb1637e312ce11c9ce49fd3a42ed3cf8571 Mon Sep 17 00:00:00 2001 From: Daming Date: Mon, 3 May 2021 23:36:47 +0800 Subject: [PATCH] chore: using curl command instead of wget (#1836) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 13c8cb813b..42290b8f91 100644 --- a/Makefile +++ b/Makefile @@ -59,7 +59,7 @@ endif .PHONY: dag-lib dag-lib: ifeq ("$(wildcard api/dag-to-lua/dag-to-lua.lua)", "") - wget https://github.com/api7/dag-to-lua/archive/v1.1.tar.gz -P /tmp + curl -Lso /tmp/v1.1.tar.gz https://github.com/api7/dag-to-lua/archive/v1.1.tar.gz tar -zxvf /tmp/v1.1.tar.gz -C /tmp mkdir ./api/dag-to-lua cp -r /tmp/dag-to-lua-1.1/lib/* ./api/dag-to-lua