install-ectd.sh: brace PATH and suggest user export

This commit is contained in:
Benjamin Elder committed 2025-03-13 11:23:53 -07:00
1 parent d798d86981
commit 8898868fea
1 file changed
+1 -1
+1 -1
View File
@@ -27,4 +27,4 @@ source "${KUBE_ROOT}/hack/lib/init.sh"
FOUND="$(echo "${PATH}" | sed 's/:/\n/g' | grep -q "^${KUBE_ROOT}/third_party/etcd$" || true)"
kube::etcd::install
test -n "${FOUND}" || echo " PATH=\"\$PATH:${KUBE_ROOT}/third_party/etcd\""
test -n "${FOUND}" || echo "export PATH=\"\${PATH}:${KUBE_ROOT}/third_party/etcd\""