Teach kubectl to avoid local/util, since its gone.

This commit is contained in:
Prashanth Balasubramanian 2015-02-16 19:41:54 -08:00
parent 49b92d43b6
commit 6fb36dc0bc

View File

@ -20,7 +20,10 @@ set -o pipefail
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
source "${KUBE_ROOT}/cluster/kube-env.sh"
source "${KUBE_ROOT}/cluster/${KUBERNETES_PROVIDER}/util.sh"
UTILS=${KUBE_ROOT}/cluster/${KUBERNETES_PROVIDER}/util.sh
if [ -f ${UTILS} ]; then
source "${UTILS}"
fi
# Get the absolute path of the directory component of a file, i.e. the
# absolute path of the dirname of $1.