diff --git a/EESSI-remove-software.sh b/EESSI-remove-software.sh index 664fd8c6fd..de0c312e38 100755 --- a/EESSI-remove-software.sh +++ b/EESSI-remove-software.sh @@ -116,10 +116,10 @@ if [ $EUID -ne 0 ]; then for app in ${rebuild_apps}; do app_dir=${EASYBUILD_INSTALLPATH}/software/${app} app_module=${EASYBUILD_INSTALLPATH}/modules/all/${app}.lua - echo_yellow "Removing ${app_dir} and ${app_module}... (just reporting what would have been done)" - # echo_yellow "Removing ${app_dir} and ${app_module}..." - rm -rf ${app_dir} - rm -rf ${app_module} + echo_yellow "Removing ${app_dir} and ${app_module}..." + ls -lR ${app_dir} + rm -rdfv ${app_dir} + rm -rdfv ${app_module} done else fatal_error "Easystack file ${easystack_file} not found!" diff --git a/bot/build.sh b/bot/build.sh index 3a1294e06e..6ac38160bb 100755 --- a/bot/build.sh +++ b/bot/build.sh @@ -216,11 +216,11 @@ else mkdir -p "${LOWER_DIRS}" grep ^REMOVE_DIRECTORY ${determine_outerr} | cut -f4- -d'/' > ${determine_outerr}.rm_dirs cat ${determine_outerr}.rm_dirs | while read remove_dir; do - echo "PROCESS directory: --${remove_dir}--" + # echo "PROCESS directory: --${remove_dir}--" mkdir -p ${STORAGE}/lower_dirs/${remove_dir} chmod u+rwx ${STORAGE}/lower_dirs/${remove_dir} done - ls -lR "${STORAGE}/lower_dirs" + # ls -lR "${STORAGE}/lower_dirs" # prepare directory to store tarball of tmp for removal and build steps TARBALL_TMP_REMOVAL_STEP_DIR=${PREVIOUS_TMP_DIR}/removal_step