libem.bash: ln -h is not supported on linux

This commit is contained in:
2014-05-22 16:58:59 +02:00
parent 49af872bb7
commit 8ea27d4ae1

View File

@@ -376,7 +376,7 @@ function _set_link() {
local x
IFS='/' x=(${_path})
local -r _target="../"$(eval printf "../%.s" {1..${#x[@]}})${EM_ETCDIR##*/}/"${EM_FAMILY}/${P}/modulefile"
ln -fhs "${_target}" "${EM_MODULENAME##*/}"
ln -fs "${_target}" "${EM_MODULENAME##*/}"
)
}