Skip to content

Commit

Permalink
debian/ubuntu compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernhard committed Oct 11, 2021
1 parent 22e8770 commit c614e24
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
RHEL5=$(shell grep -q -i 'release 5' /etc/redhat-release)
PYTHON3=$(shell command -v python3 && command -v pip3)
RHEL5=$(shell grep -q -i 'release 5' /etc/redhat-release 2>/dev/null || false)
PYTHON3=$(shell which python3 && which pip3)
USE_SELINUX=$(shell test -d /sys/fs/selinux && echo ":Z")
DOCKERFILE ?= $(CURDIR)/images/Dockerfile.el7
DIST=$(shell echo $(DOCKERFILE) | tr "." "\n" | tail -1 | tr '[:upper:]' '[:lower:]')
Expand All @@ -12,7 +12,7 @@ PYTHON ?= python
PIP ?= pip
endif

PODMAN=$(shell command -v podman)
PODMAN=$(shell which podman)
ifneq ($(PODMAN),)
CONTAINER_EXEC ?= podman
else
Expand Down

0 comments on commit c614e24

Please sign in to comment.