From a1fa03f8c658c3a03ab424891ad1a61030790e79 Mon Sep 17 00:00:00 2001 From: Ivan <56458442+ivan-the-terrible@users.noreply.github.com> Date: Wed, 22 Nov 2023 14:58:54 -0500 Subject: [PATCH] Fixed strings with spaces parsing issue --- entrypoint.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 7ba220f..9e788da 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -147,8 +147,9 @@ assets="$HOME/assets" mkdir -p "$assets/" -# This loop splits files on space -for entry in $INPUT_FILES; do +# This loop splits files on newlines +IFS=' +' && for entry in $INPUT_FILES; do # Well, that needs explaining… If delimiter given in `-d` does not occur in string, `cut` always returns # the original string, no matter what the field `-f` specifies. #