From 51e0a8b1c35ab92ff374247c9f132ac49dbf658e Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Tue, 11 Feb 2020 10:29:32 +0100 Subject: Make: s/uname -o/uname -s/ uname -o doesn't seem to work on Mac OS. Signed-off-by: Valentin Rothberg --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5f71cb513..67e798c8d 100644 --- a/Makefile +++ b/Makefile @@ -582,7 +582,7 @@ install.libseccomp.sudo: cmd/podman/varlink/iopodman.go: .gopathok cmd/podman/varlink/io.podman.varlink -ifneq (,$(findstring Linux,$(shell uname -o))) +ifneq (,$(findstring Linux,$(shell uname -s))) # Only generate the varlink code on Linux (see issue #4814). GO111MODULE=off $(GO) generate ./cmd/podman/varlink/... endif -- cgit v1.2.3-54-g00ecf