aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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...