Skip to content

Commit 410e31d

Browse files
added share/package to package path
1 parent 9a4d51f commit 410e31d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/roswire/definitions/package.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ def _paths_ros2(shell: dockerblade.Shell,
134134
logger.error('failed to obtain ROS2 package prefixes')
135135
raise
136136
package_to_prefix: Mapping[str, str] = json.loads(jsn)
137-
paths = list(package_to_prefix.values())
137+
paths: List[str] = [os.path.join(prefix, f'share/{package}')
138+
for (package, prefix) in package_to_prefix.items()]
138139
return paths
139140

140141
@classmethod

0 commit comments

Comments
 (0)