Quellcode durchsuchen

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

Signed-off-by: Henrik Holst <[email protected]>
Henrik Holst vor 9 Jahren
Ursprung
Commit
1899eac2ba
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  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