Commit 34970c70 authored by gsell's avatar gsell
Browse files

libem.bash: handling of family System added, bugfix

parent 5f4df9c5
......@@ -201,7 +201,7 @@ function em.add_to_family() {
die 42 "${FUNCNAME}: Missing family argument."
fi
if [[ ! -d ${EM_ETCDIR}/${1} ]]; then
dir 43 "${1}: family does not exist."
die 43 "${1}: family does not exist."
fi
EM_FAMILY=$1
source "${CONFIG_DIR}/versions.conf"
......@@ -283,6 +283,9 @@ function _set_env() {
Libraries )
EM_MODULENAME="${P}/${V}"
;;
System )
EM_MODULENAME="${P}/${V}"
;;
Compiler )
EM_MODULENAME="${COMPILER}/${COMPILER_VERSION}/${P}/${V}"
;;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment