Merge pull request #29813 from jayunit100/kill-repo-root-slb-2

Automatic merge from submit-queue

[minor] couple of quick cleanups for kill reporoot

quick fixes from last one,  cc @spxtr @ixdy follow on to  https://github.com/kubernetes/kubernetes/pull/25584
This commit is contained in:
k8s-merge-robot
2016-07-29 21:42:42 -07:00
committed by GitHub
3 changed files with 2 additions and 14 deletions

View File

@@ -16,14 +16,13 @@
set -o errexit
set -o pipefail
set -o nounset
if [[ -z ${KUBE_ROOT} ]]; then
if [[ -z "${KUBE_ROOT:-}" ]]; then
echo "KUBE_ROOT not detected, setting default."
KUBE_ROOT="../../../"
fi
set -o nounset
if [[ ! -d "${KUBE_ROOT}/examples" ]]; then
echo "${KUBE_ROOT}/examples not detected. This script should be run from a location where the source dirs are available."
exit 1