mirror of https://github.com/k3s-io/k3s
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.pull/8/head
parent
03b674bc86
commit
07d6283521
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue