From 926cb5f4b0f55689174e68488829ecd50cda7260 Mon Sep 17 00:00:00 2001 From: Alex Youngs Date: Wed, 30 Oct 2024 22:40:36 -0500 Subject: [PATCH] Fixed missing expanduser --- src/rocker/ros_ws.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rocker/ros_ws.py b/src/rocker/ros_ws.py index d9081bf..b8f469c 100644 --- a/src/rocker/ros_ws.py +++ b/src/rocker/ros_ws.py @@ -43,7 +43,7 @@ def get_docker_args(self, cli_args): """ workspace = cli_args[self.name] if RosWs.is_workspace_volume(workspace): - args = Volume.get_volume_args([[workspace + ":" + os.path.join(RosWs.get_home_dir(cli_args), self.name, 'src')]]) + args = Volume.get_volume_args([[os.path.expanduser(workspace) + ":" + os.path.join(RosWs.get_home_dir(cli_args), self.name, 'src')]]) return ' '.join(args) else: return ''