Files
freeipa/debian/patches/correct-python-path.diff

12 lines
274 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -44,7 +44,7 @@ ifneq ($(DEVELOPER_MODE),0)
LINT_OPTIONS=--no-fail
endif
-PYTHON ?= $(shell rpm -E %__python)
+PYTHON ?= $(shell rpm -E %__python || echo /usr/bin/python)
all: bootstrap-autogen server
@for subdir in $(SUBDIRS); do \