diff --git a/compose/bin/docker-compose b/compose/bin/docker-compose index 27e8a6993..685082a0d 100755 --- a/compose/bin/docker-compose +++ b/compose/bin/docker-compose @@ -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