Commit 444a3c84 authored by gsell's avatar gsell
Browse files

libem.bash: cleanup, bugfix in '-with-hdf5_serial' handling

parent 0c9e3e38
......@@ -82,7 +82,7 @@ while (( $# > 0 )); do
v=${1/--with-hdf5=}
ENVIRONMENT_ARGS="${ENVIRONMENT_ARGS} HDF5=hdf5 HDF5_VERSION=$v"
;;
--with-hdf5=*)
--with-hdf5_serial=*)
v=${1/--with-hdf5_serial=}
ENVIRONMENT_ARGS="${ENVIRONMENT_ARGS} HDF5_SERIAL=hdf5_serial HDF5_SERIAL_VERSION=$v"
;;
......@@ -175,7 +175,6 @@ function em.add_to_family() {
_NAME=$(echo ${_name} | tr [:lower:] [:upper:])
eval ${_NAME}_VERSION=$_version
done < "${DEFAULT_VERSIONS_FILE}"
#source "${CONFIG_DIR}/versions.conf"
if [[ -z "${CONFIG_DIR}/families.d/"*.conf ]]; then
die 1 "Default family configuration not set in ${CONFIG_DIR}/families.d"
fi
......
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