lib/libem.bash: set link according new directory structure
This commit is contained in:
@@ -375,8 +375,8 @@ function _set_link() {
|
||||
|
||||
local x
|
||||
IFS='/' x=(${_path})
|
||||
local -r _target="../"$(eval printf "../%.s" {1..${#x[@]}})${EM_ETCDIR##*/}/"${EM_FAMILY}/${P}"
|
||||
ln -fs "${_target}" "${EM_MODULENAME##*/}"
|
||||
local -r _target="../"$(eval printf "../%.s" {1..${#x[@]}})${EM_ETCDIR##*/}/"${EM_FAMILY}/${P}/modulefile"
|
||||
ln -fhs "${_target}" "${EM_MODULENAME##*/}"
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user