build: tcllib added

This commit is contained in:
2021-05-26 16:42:50 +02:00
parent 67815236a7
commit 9b33e1723a
2 changed files with 8 additions and 0 deletions
+7
View File
@@ -358,6 +358,10 @@ pmodules::compile() {
build Tcl
fi
if [[ ! -e "${PMODULES_HOME}/lib/tcllib1.20" ]] || [[ ${opt_force} == 'yes' ]]; then
build tcllib
fi
if [[ ! -e "${PMODULES_HOME}/libexec/modulecmd.bin" ]] || [[ ${opt_force} == 'yes' ]]; then
build modules
fi
@@ -493,6 +497,9 @@ pmodules::install() {
sed "${sed_cmd}" "${SRC_DIR}/modmanage.bash.in" > "${PMODULES_HOME}/libexec/modmanage.bash"
chmod 0755 "${PMODULES_HOME}/libexec/modmanage.bash"
test -e "${PMODULES_ROOT}/${CONFIG_DIR}/Pmodules.conf" || \
install -m 0644 "${SRC_DIR}/Pmodules.conf" "${PMODULES_ROOT}/${CONFIG_DIR}"
install -m 0644 "${SRC_DIR}/bash" "${PMODULES_HOME}/init"
install -m 0644 "${SRC_DIR}/bash_completion" "${PMODULES_HOME}/init"
install -m 0644 "${SRC_DIR}/csh" "${PMODULES_HOME}/init"
+1
View File
@@ -6,3 +6,4 @@ gettext 0.21
modules 3.2.10.1
Pmodules 1.0.0rc10
Tcl 8.6.10
tcllib 1.20