From: Andrei Pavel Date: Wed, 12 Mar 2025 12:15:57 +0000 (+0200) Subject: [#3731] Update meson.sh X-Git-Tag: Kea-2.7.7~88 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9d5846f780a8b679306ee7accd2580a004c3d981;p=thirdparty%2Fkea.git [#3731] Update meson.sh --- diff --git a/meson.sh b/meson.sh index 43efbdf69e..0b3521e279 100755 --- a/meson.sh +++ b/meson.sh @@ -28,7 +28,7 @@ if test ! -d venv; then if command -V compgen >/dev/null; then # shellcheck disable=SC3044 # 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 python3="${newer}" fi