Browse Source

Prefer to use our own python3 if available

tags/v1.0
falkTX 4 years ago
parent
commit
bd1adf2505
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      setup/functions.sh

+ 1
- 1
setup/functions.sh View File

@@ -350,7 +350,7 @@ function build_python() {
local pkgdir="${PAWPAW_BUILDDIR}/${name}-${version}" local pkgdir="${PAWPAW_BUILDDIR}/${name}-${version}"
local python=python3 local python=python3


if ! which python3 > /dev/null; then
if [ ! -e "${PAWPAW_PREFIX}/bin/python3" ] && ! which python3 > /dev/null; then
python=python python=python
fi fi




Loading…
Cancel
Save