mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 13:45:06 +00:00
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).
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user