diff --git a/Makefile b/Makefile index 3ee3c9d6..807d1b9a 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ CRICTL_CONFIG_DIR=${DESTDIR}/etc BASHINSTALLDIR=${PREFIX}/share/bash-completion/completions OCIUMOUNTINSTALLDIR=$(PREFIX)/share/oci-umount/oci-umount.d -SELINUXOPT ?= $(shell command -v selinuxenabled >/dev/null 2>&1 && selinuxenabled && echo -Z) +SELINUXOPT ?= $(shell selinuxenabled 2>/dev/null && echo -Z) PACKAGES ?= $(shell go list -tags "${BUILDTAGS}" ./... | grep -v github.com/kubernetes-incubator/cri-o/vendor) BUILD_INFO := $(shell date +%s)