Commit 380ae5db authored by gsell's avatar gsell
Browse files

compile_pmodules:

- move modulecmd.tcl only if build was successfull
parent 93afe742
......@@ -46,8 +46,8 @@ if [[ ! -e "${PMODULES_HOME}/bin/tclsh" ]]; then
build Tcl "${TCL_VERSION}"
fi
if [[ ! -e "${PMODULES_HOME}/bin/modulecmd.tcl" ]]; then
build Modules "${MODULES_VERSION}"
if [[ ! -e "${PMODULES_HOME}/libexec/modulecmd.tcl" ]]; then
build Modules "${MODULES_VERSION}" && \
mv -v "${PMODULES_HOME}/bin/modulecmd" "${PMODULES_HOME}/libexec/modulecmd.tcl"
fi
echo "Done..."
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