Skip to content

Commit

Permalink
Corrected order of things in entrypoint script, based on warning duri…
Browse files Browse the repository at this point in the history
…ng test
  • Loading branch information
jonasbn committed Feb 20, 2023
1 parent 1f9e944 commit 96c2ddc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ if [ -n "$INPUT_SOURCE_FILES" ]; then

if [ "$SPLIT" = true ]; then
echo "IFS = >$IFS<"
read -a -r arr <<< "$INPUT_SOURCE_FILES"
read -r -a arr <<< "$INPUT_SOURCE_FILES"

for FILE in "${arr[@]}"; do

Expand All @@ -76,7 +76,7 @@ if [ -n "$INPUT_SOURCE_FILES" ]; then
unset OIFS

else
read -a -r arr <<< "$INPUT_SOURCE_FILES"
read -r -a arr <<< "$INPUT_SOURCE_FILES"

for FILE in "${arr[@]}"; do
SOURCES_LIST="$SOURCES_LIST --source $FILE"
Expand Down

0 comments on commit 96c2ddc

Please sign in to comment.