mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
py-defs.mk, projects.mk: Fix /usr/bin/python globbing on OpenSUSE
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
caf33841b4
commit
f3febfa460
2 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ ifneq ($(PYTHON_VERSION),)
|
|||
PYTHON := /usr/bin/python$(PYTHON_VERSION)
|
||||
else
|
||||
ifeq ($(PYTHON),)
|
||||
PYTHON := $(lastword $(shell ls -v /usr/bin/python[0-9]*))
|
||||
PYTHON := $(lastword $(shell ls -v /usr/bin/python[0-9].[0-9]))
|
||||
endif
|
||||
PYTHON_VERSION ?= $(patsubst python%,%,$(notdir $(PYTHON)))
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue