mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-22 01:49:48 +00:00
[#3731] Update meson.sh
This commit is contained in:
parent
d67759b1f4
commit
9d5846f780
2
meson.sh
2
meson.sh
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user