2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-22 09:57:41 +00:00

[#3731] Update meson.sh

This commit is contained in:
Andrei Pavel 2025-03-12 14:15:57 +02:00 committed by Francis Dupont
parent d67759b1f4
commit 9d5846f780

View File

@ -28,7 +28,7 @@ if test ! -d venv; then
if command -V compgen >/dev/null; then if command -V compgen >/dev/null; then
# shellcheck disable=SC3044 # shellcheck disable=SC3044
# SC3044 (warning): In POSIX sh, 'compgen' is undefined. # SC3044 (warning): In POSIX sh, 'compgen' is undefined.
newer=$(compgen -c python3 | sort -V | tail -n 1) newer=$(compgen -c python3 | grep -E '^python3.[0-9]+$' | sort -V | tail -n 1)
if test -n "${newer}"; then if test -n "${newer}"; then
python3="${newer}" python3="${newer}"
fi fi