mirror of
https://github.com/containers/podman-compose.git
synced 2025-02-17 02:41:06 +01:00
Mixed-case directory names break 'podman create'
The default project_name uses the directory name, but 'podman create' fails if the directory is mixed case.
This commit is contained in:
parent
12036aa54e
commit
c5f8973bd5
@ -794,7 +794,7 @@ class PodmanCompose:
|
|||||||
os.chdir(dirname)
|
os.chdir(dirname)
|
||||||
|
|
||||||
if not project_name:
|
if not project_name:
|
||||||
project_name = dir_basename
|
project_name = dir_basename.lower()
|
||||||
self.project_name = project_name
|
self.project_name = project_name
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user