From 593522d83ab441ffd01647fde1c7170966cc3102 Mon Sep 17 00:00:00 2001 From: Ian Chamberlain Date: Fri, 24 Mar 2023 13:36:03 -0400 Subject: [PATCH] Fix command check for `pacman` --- ctru-sys/bindgen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctru-sys/bindgen.sh b/ctru-sys/bindgen.sh index b3ff55a..501459c 100755 --- a/ctru-sys/bindgen.sh +++ b/ctru-sys/bindgen.sh @@ -6,7 +6,7 @@ echo "Determining libctru version..." pacman=dkp-pacman if ! command -v $pacman &>/dev/null; then pacman=pacman - if ! command -q $pacman &>/dev/null; then + if ! command -v $pacman &>/dev/null; then echo >&2 "ERROR: Unable to automatically determine libctru version!" exit 1 fi