From e4a013f5fcdcdeae624a5541f554dd9c7cb6454e Mon Sep 17 00:00:00 2001 From: Thomas Roeblitz Date: Tue, 7 May 2024 00:02:54 +0200 Subject: [PATCH] add double quotes --- bot/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/build.sh b/bot/build.sh index 4f9f9d9fe8..1b77be2a8c 100755 --- a/bot/build.sh +++ b/bot/build.sh @@ -213,7 +213,7 @@ else # set permission of the directory to u+rwx # add directory to LOWER_DIRS (':' separated list of directories) LOWER_DIRS= - for remove_dir in $(grep ^REMOVE_DIRECTORY ${determine_outerr} | cut -f4- -d'/'); do + for remove_dir in "$(grep ^REMOVE_DIRECTORY ${determine_outerr} | cut -f4- -d'/')"; do echo "PROCESS directory: --${remove_dir}--" mkdir -p ${STORAGE}/lower_dirs/${remove_dir} chmod u+rwx ${STORAGE}/lower_dirs/${remove_dir}