File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed
third_party/multiarch/qemu-user-static/register Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 16
16
17
17
# TODO(jbeda): Provide a way to override project
18
18
# gcloud multiplexing for shared GCE/GKE tests.
19
- KUBE_ROOT=$( dirname " ${BASH_SOURCE} " ) /../..
19
+ KUBE_ROOT=$( dirname " ${BASH_SOURCE[0] } " ) /../..
20
20
source " ${KUBE_ROOT} /cluster/gce/config-common.sh"
21
21
22
22
# Specifying KUBE_GCE_API_ENDPOINT will override the default GCE Compute API endpoint (https://www.googleapis.com/compute/v1/).
Original file line number Diff line number Diff line change 16
16
17
17
# TODO(jbeda): Provide a way to override project
18
18
# gcloud multiplexing for shared GCE/GKE tests.
19
- KUBE_ROOT=$( dirname " ${BASH_SOURCE} " ) /../..
19
+ KUBE_ROOT=$( dirname " ${BASH_SOURCE[0] } " ) /../..
20
20
source " ${KUBE_ROOT} /cluster/gce/config-common.sh"
21
21
22
22
# Specifying KUBE_GCE_API_ENDPOINT will override the default GCE Compute API endpoint (https://www.googleapis.com/compute/v1/).
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ if [[ "${KUBERNETES_PROVIDER:-gce}" != "gce" ]]; then
27
27
exit 1
28
28
fi
29
29
30
- KUBE_ROOT=$( dirname " ${BASH_SOURCE} " ) /../..
30
+ KUBE_ROOT=$( dirname " ${BASH_SOURCE[0] } " ) /../..
31
31
source " ${KUBE_ROOT} /hack/lib/util.sh"
32
32
source " ${KUBE_ROOT} /cluster/kube-util.sh"
33
33
Original file line number Diff line number Diff line change 20
20
# config-default.sh.
21
21
readonly GCE_MAX_LOCAL_SSD=8
22
22
23
- KUBE_ROOT=$( dirname " ${BASH_SOURCE} " ) /../..
23
+ KUBE_ROOT=$( dirname " ${BASH_SOURCE[0] } " ) /../..
24
24
source " ${KUBE_ROOT} /cluster/gce/${KUBE_CONFIG_FILE-" config-default.sh" } "
25
25
source " ${KUBE_ROOT} /cluster/common.sh"
26
26
source " ${KUBE_ROOT} /hack/lib/util.sh"
Original file line number Diff line number Diff line change @@ -19,13 +19,13 @@ entries="aarch64 aarch64_be alpha arm armeb hppa m68k microblaze microblazeel mi
19
19
if [ " ${1} " = " --reset" ]; then
20
20
shift
21
21
(
22
- cd /proc/sys/fs/binfmt_misc
22
+ cd /proc/sys/fs/binfmt_misc || exit
23
23
for file in $entries ; do
24
- if [ -f qemu-${file} ]; then
25
- echo -1 > qemu-${file}
24
+ if [ -f " qemu-${file} " ]; then
25
+ echo -1 > " qemu-${file} "
26
26
fi
27
27
done
28
28
)
29
29
fi
30
30
31
- exec $( dirname " ${BASH_SOURCE} " ) /qemu-binfmt-conf.sh --qemu-path=" ${QEMU_BIN_DIR} " $@
31
+ exec $( dirname " ${BASH_SOURCE[0] } " ) /qemu-binfmt-conf.sh --qemu-path=" ${QEMU_BIN_DIR} " " $@ "
You can’t perform that action at this time.
0 commit comments