summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index df9d68a..32c2d6a 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ BINDIR ?= $(PREFIX)/bin
LIBDIR ?= $(PREFIX)/lib
MANDIR ?= $(PREFIX)/share/man
-PLATFORMFILE := src/platform/$(shell uname | tr '[:upper:]' '[:lower:]').sh
+PLATFORMFILE := src/platform/$(shell uname | cut -d _ -f 1 | tr '[:upper:]' '[:lower:]').sh
.PHONY: install uninstall install-pass