[CI Scripts] Update to use `command -v`
Instead of `which`. Signed-off-by: Christopher Snowhill <kode54@gmail.com>xcode15
parent
7e516f8cfe
commit
0732b176fd
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
git=$(which git)
|
git=$(command -v git)
|
||||||
|
|
||||||
sed=$(which sed)
|
sed=$(command -v sed)
|
||||||
|
|
||||||
PlistBuddy="/usr/libexec/PlistBuddy"
|
PlistBuddy="/usr/libexec/PlistBuddy"
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
BASEDIR=$(dirname "$0")
|
BASEDIR=$(dirname "$0")
|
||||||
|
|
||||||
git=$(which git)
|
git=$(command -v git)
|
||||||
|
|
||||||
REPO_ROOT_PATH=$("$git" rev-parse --show-toplevel)
|
REPO_ROOT_PATH=$("$git" rev-parse --show-toplevel)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue