Skip to content

Commit

Permalink
create temp file with stripped dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
truib committed May 6, 2024
1 parent 620695f commit 4561c74
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bot/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,9 @@ else
# set permission of the directory to u+rwx
# add directory to LOWER_DIRS (':' separated list of directories)
LOWER_DIRS=
for remove_dir in $(cat ${determine_outerr} | grep ^REMOVE_DIRECTORY | sed -e 's/^REMOVE_DIRECTORY //'); do
grep ^REMOVE_DIRECTORY ${determine_outerr} | cut -f4- -d'/' > ${determine_outerr}.rm_dirs
#for remove_dir in $(cat ${determine_outerr} | grep ^REMOVE_DIRECTORY | sed -e 's/^REMOVE_DIRECTORY //'); do
for remove_dir in $(cat ${determine_outerr}.rm_dirs); do
echo "PROCESS directory: --${remove_dir}--"
mkdir -p ${STORAGE}/lower_dirs/${remove_dir}
chmod u+rwx ${STORAGE}/lower_dirs/${remove_dir}
Expand Down

0 comments on commit 4561c74

Please sign in to comment.