From dfb42a9748da50e9a927e7789a70c2064692b02b Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 9 Jul 2015 10:22:34 +0200 Subject: [PATCH] scripts/Bootstrap/compile_pmodules.sh: - cleanup --- scripts/Bootstrap/compile_pmodules.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/Bootstrap/compile_pmodules.sh b/scripts/Bootstrap/compile_pmodules.sh index 0b5ad0a..20c642e 100755 --- a/scripts/Bootstrap/compile_pmodules.sh +++ b/scripts/Bootstrap/compile_pmodules.sh @@ -18,8 +18,7 @@ ${BOOTSTRAP_DIR}/getopt/build --bootstrap --disable-cleanup || { echo ${BOOTSTRAP_DIR}/dialog/build --bootstrap --disable-cleanup || { echo "compiling 'dialog' failed!"; exit 1; } ${BOOTSTRAP_DIR}/bash/build --bootstrap --disable-cleanup 4.3.30 || { echo "compiling 'bash' failed!"; exit 1; } ${BOOTSTRAP_DIR}/Tcl/build --bootstrap --disable-cleanup || { echo "compiling 'Tcl' failed!"; exit 1; } - -# we have to remove the init directory - otherwise the next build will fail... -rm -rf "${PMODULES_HOME}/init" ${BOOTSTRAP_DIR}/Modules/build --bootstrap || { echo "compiling 'Modules' failed!"; exit 1; } + mv -v "${PMODULES_HOME}/bin/modulecmd" "${PMODULES_HOME}/bin/modulecmd.tcl" +echo "Done..."