mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-15 23:03:40 +00:00
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:
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
Block a user