Cleanup Python detection in the runtime project file. Fixes #5444

This commit is contained in:
Dave Page
2020-05-04 10:20:51 +01:00
parent 908e156113
commit 94bd1f1680
6 changed files with 127 additions and 105 deletions
+2 -2
View File
@@ -107,9 +107,9 @@ _build_runtime() {
make clean
fi
if hash qmake-qt5 2>/dev/null; then
qmake-qt5
PGADMIN_PYTHON_DIR=/usr qmake-qt5
else
qmake
PGADMIN_PYTHON_DIR=/usr qmake
fi
make
mkdir -p "${DESKTOPROOT}/usr/${APP_NAME}/bin"