From 62e266b593e4031a9a9209fbd17f287cc4cfb7a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= Date: Sat, 28 Sep 2019 23:57:53 +0100 Subject: [PATCH] Fix unversioned python rfbz #5395 --- Makefile.in | 6 +++--- configure | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.in b/Makefile.in index a2f6bec..bf3016d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -44,9 +44,9 @@ SOURCES += $(wildcard rhel/$(arch)/*) DOCS += $(wildcard rhel/doc/*) endif -lib_to_data := $(shell python -c 'import os.path; \ - print os.path.relpath("$(app_datadir)", \ - "$(app_libdir)")') +lib_to_data := $(shell python3 -c 'import os.path; \ + print(os.path.relpath("$(app_datadir)", \ + "$(app_libdir)"))') all: help lib_to_data: diff --git a/configure b/configure index da175f6..df2d53f 100755 --- a/configure +++ b/configure @@ -93,7 +93,7 @@ fi echo " ldconfig:... $sts" echo -n " python: " -sts="$(python --version 2>&1) (ok)" || sts="ERROR: Not found" +sts="$(python3 --version 2>&1) (ok)" || sts="ERROR: Not found" echo $sts if [ -z "$package" ]; then