diff options
author | Christian Hesse <mail@eworm.de> | 2019-01-01 21:31:59 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2019-01-01 21:31:59 +0100 |
commit | 65c3d6ea925434f24ea86012e3b1a51496a2a6fc (patch) | |
tree | 9e3d63f3357f4ef4e87dd8f1bf47730d56a48b8a /Makefile | |
parent | e42b9d7ddb6b16771d22156aea1c4e77d9036a59 (diff) | |
download | pacredir-65c3d6ea925434f24ea86012e3b1a51496a2a6fc.tar.gz pacredir-65c3d6ea925434f24ea86012e3b1a51496a2a6fc.tar.zst |
fix parsing of /etc/os-release
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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... |