MODULEROOT_PATH renamed to MODULEPATH_ROOT (this is what Lmod uses)

This commit is contained in:
2014-04-23 17:40:23 +02:00
parent e2e68c6849
commit ddf5e9ff3b
2 changed files with 3 additions and 3 deletions

View File

@@ -351,8 +351,8 @@ function em.install_doc() {
}
function _set_link() {
(mkdir -p "${MODULEROOT_PATH}"
cd "${MODULEROOT_PATH}"
(mkdir -p "${MODULEPATH_ROOT}"
cd "${MODULEPATH_ROOT}"
local _path="${EM_FAMILY}/${EM_MODULENAME%/*}"
mkdir -p "${_path}"
cd "${_path}"

View File

@@ -6,7 +6,7 @@ source "$(dirname $0)/../lib/libem.bash"
function em.configure() {
"${EM_SRCDIR}"/configure \
--prefix="${EM_BINDIR}/core" \
--with-module-path="${EM_MODULEROOT_PATH}" \
--with-module-path="${MODULEPATH_ROOT}" \
|| exit 1
}
# fake module command