python3: update to 3.10.0.

This commit is contained in:
Andrew J. Hesford 2021-09-24 21:58:45 -04:00
parent e7ca679824
commit 9b61ec59f9
6 changed files with 24 additions and 28 deletions

View file

@ -5,7 +5,7 @@ hook() {
local pyver= shebang= off=
if [ -d ${PKGDESTDIR}/usr/lib/python* ]; then
pyver="$(find ${PKGDESTDIR}/usr/lib/python* -prune -type d | grep -o '[[:digit:]]\.[[:digit:]]$')"
pyver="$(find ${PKGDESTDIR}/usr/lib/python* -prune -type d | grep -o '[[:digit:]]\.[[:digit:]]\+$')"
fi
if [ -n "$python_version" ]; then