Skip to content

Commit

Permalink
need to create directory for module file in lower_dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
truib committed Nov 15, 2024
1 parent 1c24b7a commit 5fd8fd7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bot/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,9 @@ else

grep ^REMOVE_MODULE ${determine_outerr} | cut -f4- -d'/' > ${determine_outerr}.rm_modules
cat ${determine_outerr}.rm_modules | while read remove_module; do
module_parent_dir=$(dirname ${STORAGE}/lower_dirs/${remove_module})
mkdir -p ${module_parent_dir}
chmod ug+rw ${module_parent_dir}
touch ${STORAGE}/lower_dirs/${remove_module}
chmod ug+rw ${STORAGE}/lower_dirs/${remove_module}
done
Expand Down

0 comments on commit 5fd8fd7

Please sign in to comment.