Skip to content

Commit 050c6c8

Browse files
authored
Fix shellcheck warnings (#51)
Signed-off-by: Reinhard Nägele <unguiculus@gmail.com>
1 parent dc09ebc commit 050c6c8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ct.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ run_ct_container() {
127127

128128
configure_kube() {
129129
# need to copy full .kube dir for certs, etc:
130-
local confdir=$(dirname $kubeconfig)
130+
local confdir
131+
confdir=$(dirname "$kubeconfig")
131132
docker cp "$confdir" ct:/root/.kube
132133
}
133134

0 commit comments

Comments
 (0)