Просмотр исходного кода

Fixes https://github.com/docker/compose/issues/4099

Signed-off-by: Henrik Holst <[email protected]>
Henrik Holst 9 лет назад
Родитель
Сommit
1899eac2ba
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      compose/cli/command.py

+ 2 - 1
compose/cli/command.py

@@ -54,7 +54,8 @@ def get_config_path_from_options(base_dir, options, environment):
 
     config_files = environment.get('COMPOSE_FILE')
     if config_files:
-        return config_files.split(os.pathsep)
+        pathsep = environment.get('COMPOSE_FILE_SEPARATOR', os.pathsep)
+        return config_files.split(pathsep)
     return None