From: Uwe Köcher Date: Tue, 6 Oct 2015 12:42:07 +0000 (+0200) Subject: candi/deal.II: corrected creation of modulefiles X-Git-Tag: v0.7~13^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5077be824a4215bb0e605b8ea8caa19cbef66a5;p=candi.git candi/deal.II: corrected creation of modulefiles --- diff --git a/deal.II/packages/dealii.package b/deal.II/packages/dealii.package index 3609810..74fc210 100644 --- a/deal.II/packages/dealii.package +++ b/deal.II/packages/dealii.package @@ -52,13 +52,14 @@ fi if [ -z "${MODULEFILE_PATH}" ]; then MODULEFILE_PATH=${INSTALL_PATH#$PREFIX_PATH} MODULEFILE_PATH=${MODULEFILE_PATH%/$COMPILER} + MODULEFILE_PATH=${INSTALL_PATH}/share/modulefiles${MODULEFILE_PATH} fi if [ -z "${CONFIG_FILE}" ]; then CONFIG_FILE=${MODULEFILE_PATH}/${COMPILER} fi -CURRENT_MODULES=$(echo ${LOADEDMODULES} | sed 's/:/\ /') +CURRENT_MODULES=$(echo ${LOADEDMODULES} | sed 's/:/\ /g') # Generate modulefile