summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2020-02-11 10:29:32 +0100
committerValentin Rothberg <rothberg@redhat.com>2020-02-11 12:53:42 +0100
commit51e0a8b1c35ab92ff374247c9f132ac49dbf658e (patch)
treeacc97a68495998e99d94548e8af6620c251a6bdb
parent72dcc45f5ad7cb6f8b45305694bd6675d65989d8 (diff)
downloadpodman-51e0a8b1c35ab92ff374247c9f132ac49dbf658e.tar.gz
podman-51e0a8b1c35ab92ff374247c9f132ac49dbf658e.tar.bz2
podman-51e0a8b1c35ab92ff374247c9f132ac49dbf658e.zip
Make: s/uname -o/uname -s/
uname -o doesn't seem to work on Mac OS. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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