Skip to content

Commit

Permalink
tune debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
truib committed May 6, 2024
1 parent b1e314c commit d64c21e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions EESSI-remove-software.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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!"
Expand Down
4 changes: 2 additions & 2 deletions bot/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d64c21e

Please sign in to comment.