提交 3773a9a2 编写于 作者: R Roy Lenferink 提交者: Sebastian Florek

Bash script syntax improvements (#3529)

上级 c15eefd6
......@@ -130,5 +130,5 @@ copy::supported-locales
copy::dockerfile
END=$(date +%s.%N)
TOOK=$(echo "$END - $START" | bc)
TOOK=$(echo "${END} - ${START}" | bc)
say "\nBuild finished successfully after ${TOOK}s"
......@@ -31,8 +31,8 @@ function download-minikube {
function ensure-kubeconfig {
say "\nMaking sure that kubeconfig file exists and will be used by Dashboard"
mkdir -p $HOME/.kube
touch $HOME/.kube/config
mkdir -p ${HOME}/.kube
touch ${HOME}/.kube/config
}
function configure-minikube {
......@@ -59,7 +59,7 @@ function start-ci-heapster {
for i in {1..150}
do
HEAPSTER_STATUS=$(curl -sb -H "Accept: application/json" "127.0.0.1:${HEAPSTER_PORT}/healthz")
if [ "$HEAPSTER_STATUS" == "ok" ]; then
if [ "${HEAPSTER_STATUS}" == "ok" ]; then
break
fi
sleep 2
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册