debian: fix DEB_TARGET_ARCH maybe undefined (#200)

Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
This commit is contained in:
You-Sheng Yang 2019-10-16 02:54:16 +08:00 committed by Miek Gieben
parent 576c4b687a
commit e851a3095d

2
debian/rules vendored
View file

@ -1,5 +1,7 @@
#!/usr/bin/make -f #!/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]') 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. # Github is ratelimiting this API pretty aggresively, error when not set.
ifeq ($(VERSION),null) ifeq ($(VERSION),null)