From b39ddf64f60c1872f1ec81cc6a776437bb27866f Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 1 Dec 2016 10:07:23 -0500 Subject: [PATCH] Fix the PATH that install-etcd.sh tells you to use If you have an old etcd installed in /usr/bin then you need to add the local etcd directory to the *start* of PATH, not the end. --- hack/lib/etcd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 hack/lib/etcd.sh diff --git a/hack/lib/etcd.sh b/hack/lib/etcd.sh old mode 100644 new mode 100755 index b32f2113e28..929fb8eca0b --- a/hack/lib/etcd.sh +++ b/hack/lib/etcd.sh @@ -87,6 +87,6 @@ kube::etcd::install() { ln -fns "etcd-v${ETCD_VERSION}-linux-amd64" etcd fi kube::log::info "etcd v${ETCD_VERSION} installed. To use:" - kube::log::info "export PATH=\${PATH}:$(pwd)/etcd" + kube::log::info "export PATH=$(pwd)/etcd:\${PATH}" ) }