소스 검색

add clarification

Piotr Kwiecinski 1 년 전
부모
커밋
fc3870dcb6
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      compose/bin/docker-compose

+ 2 - 1
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