Commit f2f3a459 authored by Dr. Stefan Schimanski's avatar Dr. Stefan Schimanski

Use portable ln -snf instead of -sTf

parent 8675adf1
...@@ -266,7 +266,7 @@ kube::golang::create_gopath_tree() { ...@@ -266,7 +266,7 @@ kube::golang::create_gopath_tree() {
# TODO: This symlink should be relative. # TODO: This symlink should be relative.
if [[ ! -e "${go_pkg_dir}" || "$(readlink ${go_pkg_dir})" != "${KUBE_ROOT}" ]]; then 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 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