libem.bash: prefix EM_ changed to MODULE_ for all variables related to the build system, the prefix EM_ is reserved for the environment modules itself

This commit is contained in:
2014-08-15 17:10:36 +02:00
parent 91602645fe
commit a04664c61b
46 changed files with 197 additions and 274 deletions

View File

@@ -6,14 +6,14 @@
source "$(dirname $0)/../lib/libem.bash"
function em.configure() {
cd "${EM_SRCDIR}"
"${EM_SRCDIR}"/configure \
cd "${MODULE_SRCDIR}"
"${MODULE_SRCDIR}"/configure \
--prefix="${PREFIX}" \
|| exit 1
}
function em.build() {
cd "${EM_SRCDIR}"
cd "${MODULE_SRCDIR}"
make -j ${JOBS}
}