Commit 56434f11 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #31623 from sttts/sttts-mac-ln-T

Automatic merge from submit-queue Fix build on Mac Use portable `ln -snf` instead of `-sTf` (introduced in https://github.com/kubernetes/kubernetes/pull/31525).
parents 8a44cb5c f2f3a459
......@@ -266,7 +266,7 @@ kube::golang::create_gopath_tree() {
# TODO: This symlink should be relative.
if [[ ! -e "${go_pkg_dir}" || "$(readlink ${go_pkg_dir})" != "${KUBE_ROOT}" ]]; then
ln -sTf "${KUBE_ROOT}" "${go_pkg_dir}"
ln -snf "${KUBE_ROOT}" "${go_pkg_dir}"
fi
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment