Skip to content

Commit

Permalink
make all files writable too
Browse files Browse the repository at this point in the history
  • Loading branch information
truib committed May 6, 2024
1 parent d64c21e commit 29a3933
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions EESSI-determine-rebuilds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ else
echo_yellow "Removing ${app_dir} and ${app_module}..."
# echo "REMOVE_SOFTWARE ${app_dir}"
find ${app_dir} -type d | sed -e 's/^/REMOVE_DIRECTORY /'
find ${app_dir} -type f | sed -e 's/^/REMOVE_FILE /'
echo "REMOVE_MODULE ${app_module}"
done
else
Expand Down
5 changes: 5 additions & 0 deletions bot/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,11 @@ else
mkdir -p ${STORAGE}/lower_dirs/${remove_dir}
chmod u+rwx ${STORAGE}/lower_dirs/${remove_dir}
done
grep ^REMOVE_FILE ${determine_outerr} | cut -f4- -d'/' > ${determine_outerr}.rm_files
cat ${determine_outerr}.rm_files | while read remove_file; do
touch ${STORAGE}/lower_dirs/${remove_file}
chmod u+rw ${STORAGE}/lower_dirs/${remove_file}
done
# ls -lR "${STORAGE}/lower_dirs"

# prepare directory to store tarball of tmp for removal and build steps
Expand Down

0 comments on commit 29a3933

Please sign in to comment.