We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ceb7fc commit b58ff37Copy full SHA for b58ff37
1 file changed
lib/shared.bash
@@ -115,14 +115,12 @@ function docker_compose_config_files() {
115
fi
116
117
# If COMPOSE_PATH_SEPARATOR is not set, use the default separator
118
- SEPARATOR="${COMPOSE_PATH_SEPARATOR:-}"
119
- if [ -z ${SEPARATOR} ]; then
120
- if is_windows ; then
121
- SEPARATOR=";"
122
- else
123
- SEPARATOR=":"
124
- fi
+ if is_windows ; then
+ DEFAULT_SEPARATOR=";"
+ else
+ DEFAULT_SEPARATOR=":"
125
+ SEPARATOR="${COMPOSE_PATH_SEPARATOR:-$DEFAULT_SEPARATOR}"
126
127
# Process any (deprecated) colon delimited config paths
128
for value in "${config_files[@]}" ; do
0 commit comments