mirror of
https://github.com/containers/podman-compose.git
synced 2025-04-02 20:26:16 +02:00
FIXES #486: replace realpath with abspath
This commit is contained in:
parent
89d2062579
commit
9c29c8914f
@ -130,7 +130,7 @@ def parse_short_mount(mount_str, basedir):
|
|||||||
# User-relative path
|
# User-relative path
|
||||||
# - ~/configs:/etc/configs/:ro
|
# - ~/configs:/etc/configs/:ro
|
||||||
mount_type = "bind"
|
mount_type = "bind"
|
||||||
mount_src = os.path.realpath(
|
mount_src = os.path.abspath(
|
||||||
os.path.join(basedir, os.path.expanduser(mount_src))
|
os.path.join(basedir, os.path.expanduser(mount_src))
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user