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