[CI Scripts] Update to use `command -v`

Instead of `which`.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
main
Christopher Snowhill 2022-07-06 14:41:18 -07:00
parent b4e3c05c87
commit 2754a9fca3
2 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
#!/bin/sh
git=$(which git)
git=$(command -v git)
sed=$(which sed)
sed=$(command -v sed)
PlistBuddy="/usr/libexec/PlistBuddy"

View File

@ -2,7 +2,7 @@
BASEDIR=$(dirname "$0")
git=$(which git)
git=$(command -v git)
REPO_ROOT_PATH=$("$git" rev-parse --show-toplevel)