[CI Scripts] Update to use command -v
Instead of `which`. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
parent
b4e3c05c87
commit
2754a9fca3
2 changed files with 3 additions and 3 deletions
|
@ -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 a new issue