From 07d62835211ea31145952c7fee3e8fec55e165e3 Mon Sep 17 00:00:00 2001 From: Ismo Puustinen Date: Thu, 8 Feb 2018 12:12:55 +0200 Subject: [PATCH] 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. --- hack/verify-cli-conventions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/verify-cli-conventions.sh b/hack/verify-cli-conventions.sh index d768eb0a560..935d5dc0d71 100755 --- a/hack/verify-cli-conventions.sh +++ b/hack/verify-cli-conventions.sh @@ -30,7 +30,7 @@ make -C "${KUBE_ROOT}" WHAT="${BINS[*]}" clicheck=$(kube::util::find-binary "clicheck") -if ! output=`$clicheck 2>&1` +if ! output=$($clicheck 2>&1) then echo "$output" echo