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