mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-07-13 16:40:50 +02:00
changes made in version 1.0 merged/added
- Issue #176, MR !149 relocatable modulecmd - Issue #175, MR !148 new logmessage format - Issue #173, MR !146 additional dirs in search path of CMake and pkgconfig - Issue #172, MR !145: fix in reading legacy variants files
This commit is contained in:
@@ -699,15 +699,20 @@ subcommand_load() {
|
||||
if [[ -n "${error}" ]]; then
|
||||
echo "${error}" 1>&2
|
||||
fi
|
||||
|
||||
local msg=$(printf "%s %s: %s -- %s" \
|
||||
"${CMD}" 'load' \
|
||||
"${rel_stage} module has been loaded" \
|
||||
"${m}")
|
||||
local msg=''
|
||||
if [[ ${verbosity_lvl} != silent ]] && \
|
||||
[[ ${rel_stage} != stable ]]; then
|
||||
[[ ${rel_stage} != stable ]]; then
|
||||
msg=$(printf "%s %s: %s -- %s" \
|
||||
"${CMD}" 'load' \
|
||||
"${rel_stage} module has been loaded" \
|
||||
"${m}")
|
||||
std::info "%s" "${msg}"
|
||||
fi
|
||||
msg=$(printf "%s: %s %s %s" \
|
||||
'load' \
|
||||
"modulefile=${current_modulefile}" \
|
||||
"rel-stage=${rel_stage}" \
|
||||
"user=${USER}")
|
||||
${logger} -t Pmodules "${msg}"
|
||||
done
|
||||
# fix LOADEDMODULES
|
||||
@@ -2878,6 +2883,7 @@ done
|
||||
if [[ -z "${subcommand}" ]]; then
|
||||
std::die 1 "${CMD}: no sub-command specified."
|
||||
fi
|
||||
declare -rx TCL_LIBRARY="${PMODULES_HOME}/lib/tcl@TCL_VERSION@"
|
||||
|
||||
if [[ -z "${Subcommands[${subcommand}]}" ]]; then
|
||||
std::die 1 "${CMD}: unknown sub-command -- ${subcommand}"
|
||||
|
||||
Reference in New Issue
Block a user