Skip to content

Commit

Permalink
add clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrkwiecinski committed Nov 22, 2023
1 parent c8621f7 commit fc3870d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compose/bin/docker-compose
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ else
COMPOSE_FILES+=("compose.dev.yaml")
fi

# We create an array including files prefixed with -f here
# to ensure paths with spaces aren't split when passed as parameters
COMPOSE_FILES_PREFIXED=()

for file in "${COMPOSE_FILES[@]}"; do
COMPOSE_FILES_PREFIXED+=("-f" "$file")
done
Expand Down

0 comments on commit fc3870d

Please sign in to comment.