From 65c3d6ea925434f24ea86012e3b1a51496a2a6fc Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 1 Jan 2019 21:31:59 +0100 Subject: fix parsing of /etc/os-release --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 80f80fd..c9f330b 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ LDFLAGS += -Wl,-z,now -Wl,-z,relro -pie # the distribution ID ARCH := $(shell shopt -u extglob && source /etc/makepkg.conf && echo $$CARCH) -ID := $(shell grep 'ID=' < /etc/os-release | cut -d= -f2) +ID := $(shell shopt -u extglob && source /etc/os-release && echo $$ID) # this is just a fallback in case you do not use git but downloaded # a release tarball... -- cgit v1.2.3-54-g00ecf