From 5fd8fd71dc88b15cbfa5b7053ac0ec85be610606 Mon Sep 17 00:00:00 2001 From: Thomas Roeblitz Date: Fri, 15 Nov 2024 10:41:55 +0100 Subject: [PATCH] need to create directory for module file in lower_dirs --- bot/build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bot/build.sh b/bot/build.sh index 7b4414983d..d07c5ab641 100755 --- a/bot/build.sh +++ b/bot/build.sh @@ -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