Add cwd to fix relative paths
This commit is contained in:
parent
49ffe752a0
commit
efb7c42724
2 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,8 @@ compose_path = config.readline()
|
|||
compose_path = compose_path[compose_path.find('=')+1:].strip()
|
||||
if compose_path[-1:] != '/':
|
||||
compose_path += '/'
|
||||
if compose_path[1] != '/':
|
||||
compose_path = f'{working_dir}/{compose_path}'
|
||||
|
||||
exclude_containers = config.readline()
|
||||
exclude_containers = [container.strip() for container \
|
||||
|
|
|
@ -11,6 +11,8 @@ compose_path = config.readline()
|
|||
compose_path = compose_path[compose_path.find('=')+1:].strip()
|
||||
if compose_path[-1:] != '/':
|
||||
compose_path += '/'
|
||||
if compose_path[1] != '/':
|
||||
compose_path = f'{working_dir}/{compose_path}'
|
||||
|
||||
exclude_containers = config.readline()
|
||||
exclude_containers = [container.strip() for container \
|
||||
|
|
Loading…
Reference in a new issue