mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-11 22:20:18 +00:00
make more of the shell pass lints
This commit is contained in:
@@ -18,10 +18,10 @@ set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
|
||||
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/../..
|
||||
KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/../..
|
||||
|
||||
: ${KUBECTL:=${KUBE_ROOT}/cluster/kubectl.sh}
|
||||
: ${KUBE_CONFIG_FILE:="config-test.sh"}
|
||||
: "${KUBECTL:=${KUBE_ROOT}/cluster/kubectl.sh}"
|
||||
: "${KUBE_CONFIG_FILE:="config-test.sh"}"
|
||||
|
||||
export KUBECTL KUBE_CONFIG_FILE
|
||||
|
||||
|
Reference in New Issue
Block a user