From ab660be90addfcac2cd49c749974cd9128357742 Mon Sep 17 00:00:00 2001 From: klzgrad Date: Sun, 5 May 2024 00:47:03 +0800 Subject: [PATCH] fix --- src/get-sysroot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/get-sysroot.sh b/src/get-sysroot.sh index b4822c7fc4..5ffad2a4c6 100644 --- a/src/get-sysroot.sh +++ b/src/get-sysroot.sh @@ -24,7 +24,7 @@ if [ ! "$target_cpu" ]; then target_cpu="$host_cpu" fi -if which python3 2>/dev/null; then +if which python3 >/dev/null 2>/dev/null; then PYTHON=python3 else PYTHON=python