From 9c29c8914f741b778060dedb15d1751755f91de8 Mon Sep 17 00:00:00 2001 From: Muayyad alsadi Date: Wed, 27 Apr 2022 13:01:24 +0300 Subject: [PATCH] FIXES #486: replace realpath with abspath --- podman_compose.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/podman_compose.py b/podman_compose.py index 3bbad25..9373bfb 100755 --- a/podman_compose.py +++ b/podman_compose.py @@ -130,7 +130,7 @@ def parse_short_mount(mount_str, basedir): # User-relative path # - ~/configs:/etc/configs/:ro mount_type = "bind" - mount_src = os.path.realpath( + mount_src = os.path.abspath( os.path.join(basedir, os.path.expanduser(mount_src)) ) else: