autogen: Accept python3.10 as a python alternative
NetBSD doesn't provide python or python3. Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
3d4cb5a432
commit
2d6a899806
@ -9,7 +9,7 @@ fi
|
||||
|
||||
# Detect python
|
||||
if [ -z "$PYTHON" ]; then
|
||||
for i in python3 python; do
|
||||
for i in python3 python3.10 python; do
|
||||
if command -v "$i" > /dev/null 2>&1; then
|
||||
PYTHON="$i"
|
||||
echo "Using $PYTHON..."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user