fix(python): update version checks

This commit is contained in:
AJ ONeal
2022-09-28 07:22:58 +00:00
parent f5216315d1
commit c7d761bbb2
3 changed files with 10 additions and 12 deletions

View File

@@ -17,8 +17,7 @@ __init_python2() {
my_latest_python2="$(
pyenv install --list |
grep -v -- - |
grep '2\.[0-9]\+\.[0-9]\+$' |
grep -E '^\s+2\.[0-9]+\.[0-9]+$' |
tail -n 1 |
cut -d' ' -f3
)"