lib/libem.bash: set link according new directory structure
This commit is contained in:
1 parent
d233fcb1eb
commit
0fa13e175d
1 file changed
+2
-2
+2
-2
@@ -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