什么是双冒号::在
shell脚本中?像这块脚本:
function guess_built_binary_path { local hyperkube_path=$(kube::util::find-binary "hyperkube") if [[ -z "${hyperkube_path}" ]]; then return fi echo -n "$(dirname "${hyperkube_path}")" }
我在这里找到了它:
https://github.com/kubernetes/kubernetes/blob/master/hack/local-up-cluster.sh