From e851a3095d1224b423fd8a12825bfaf79c2f62ba Mon Sep 17 00:00:00 2001 From: You-Sheng Yang Date: Wed, 16 Oct 2019 02:54:16 +0800 Subject: [PATCH] debian: fix DEB_TARGET_ARCH maybe undefined (#200) Signed-off-by: You-Sheng Yang --- debian/rules | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/rules b/debian/rules index 57868e6..03d47c6 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,7 @@ #!/usr/bin/make -f +include /usr/share/dpkg/architecture.mk + VERSION := $(shell curl -s https://api.github.com/repos/coredns/coredns/releases/latest | jq -r '.tag_name[1:length]') # Github is ratelimiting this API pretty aggresively, error when not set. ifeq ($(VERSION),null)