File tree Expand file tree Collapse file tree 8 files changed +8
-8
lines changed Expand file tree Collapse file tree 8 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ set -o errexit
18
18
set -o nounset
19
19
set -o pipefail
20
20
21
- KUBE_ROOT=${KUBE_ROOT:- $(dirname " ${BASH_SOURCE} " )/ ..}
21
+ KUBE_ROOT=${KUBE_ROOT:- $(dirname " ${BASH_SOURCE[0] } " )/ ..}
22
22
23
23
# Detect the OS name/arch so that we can find our binary
24
24
case " $( uname -s) " in
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ set -o errexit
20
20
set -o nounset
21
21
set -o pipefail
22
22
23
- KUBE_ROOT=$( cd $( dirname " ${BASH_SOURCE} " ) /.. && pwd)
23
+ KUBE_ROOT=$( cd $( dirname " ${BASH_SOURCE[0] } " ) /.. && pwd)
24
24
25
25
DEFAULT_KUBECONFIG=" ${HOME:- .} /.kube/config"
26
26
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ readonly max_dump_processes=25
63
63
64
64
# TODO: Get rid of all the sourcing of bash dependencies eventually.
65
65
function setup() {
66
- KUBE_ROOT=$( dirname " ${BASH_SOURCE} " ) /../..
66
+ KUBE_ROOT=$( dirname " ${BASH_SOURCE[0] } " ) /../..
67
67
if [[ -z " ${use_custom_instance_list} " ]]; then
68
68
: ${KUBE_CONFIG_FILE:= " config-test.sh" }
69
69
echo " Sourcing kube-util.sh"
Original file line number Diff line number Diff line change 18
18
# pre-existing Kubernetes master. See test/kubemark/pre-existing/README.md
19
19
# for me details on using a pre-existing provider.
20
20
21
- KUBE_ROOT=$( dirname " ${BASH_SOURCE} " ) /../..
21
+ KUBE_ROOT=$( dirname " ${BASH_SOURCE[0] } " ) /../..
22
22
23
23
source " ${KUBE_ROOT} /cluster/common.sh"
24
24
source " ${KUBE_ROOT} /hack/lib/util.sh"
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ set -o errexit
21
21
set -o nounset
22
22
set -o pipefail
23
23
24
- KUBE_ROOT=$( dirname " ${BASH_SOURCE} " ) /..
24
+ KUBE_ROOT=$( dirname " ${BASH_SOURCE[0] } " ) /..
25
25
source " ${KUBE_ROOT} /cluster/kube-util.sh"
26
26
27
27
echo " Testing cluster with provider: ${KUBERNETES_PROVIDER} " 1>&2
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ set -o errexit
24
24
set -o nounset
25
25
set -o pipefail
26
26
27
- KUBE_ROOT=$( dirname " ${BASH_SOURCE} " ) /..
27
+ KUBE_ROOT=$( dirname " ${BASH_SOURCE[0] } " ) /..
28
28
KUBE_CONFIG_FILE=" config-default.sh"
29
29
30
30
${KUBE_ROOT} /hack/ginkgo-e2e.sh --ginkgo.focus=Networking
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ set -o errexit
23
23
set -o nounset
24
24
set -o pipefail
25
25
26
- KUBE_ROOT=$( dirname " ${BASH_SOURCE} " ) /..
26
+ KUBE_ROOT=$( dirname " ${BASH_SOURCE[0] } " ) /..
27
27
28
28
TEST_ARGS=" $@ "
29
29
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ set -o errexit
24
24
set -o nounset
25
25
set -o pipefail
26
26
27
- KUBE_ROOT=$( dirname " ${BASH_SOURCE} " ) /..
27
+ KUBE_ROOT=$( dirname " ${BASH_SOURCE[0] } " ) /..
28
28
29
29
if [ -f " ${KUBE_ROOT} /cluster/env.sh" ]; then
30
30
source " ${KUBE_ROOT} /cluster/env.sh"
You can’t perform that action at this time.
0 commit comments