Browse Source

Fix command check for `pacman`

pull/101/head
Ian Chamberlain 2 years ago
parent
commit
593522d83a
No known key found for this signature in database
GPG Key ID: AE5484D09405AA60
  1. 2
      ctru-sys/bindgen.sh

2
ctru-sys/bindgen.sh

@ -6,7 +6,7 @@ echo "Determining libctru version..."
pacman=dkp-pacman pacman=dkp-pacman
if ! command -v $pacman &>/dev/null; then if ! command -v $pacman &>/dev/null; then
pacman=pacman 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!" echo >&2 "ERROR: Unable to automatically determine libctru version!"
exit 1 exit 1
fi fi

Loading…
Cancel
Save