verify-cli-conventions.sh: use $(..) instead of ..
.
Using $(..) is the recommended way of running subshells. It also is the convention used almost every place in kubernetes scripts.
This commit is contained in:
@@ -30,7 +30,7 @@ make -C "${KUBE_ROOT}" WHAT="${BINS[*]}"
|
|||||||
|
|
||||||
clicheck=$(kube::util::find-binary "clicheck")
|
clicheck=$(kube::util::find-binary "clicheck")
|
||||||
|
|
||||||
if ! output=`$clicheck 2>&1`
|
if ! output=$($clicheck 2>&1)
|
||||||
then
|
then
|
||||||
echo "$output"
|
echo "$output"
|
||||||
echo
|
echo
|
||||||
|
Reference in New Issue
Block a user