Skip to content

Commit 5163254

Browse files
fixed glob command to correctly find launch files (ros2#1042)
* fixed glob command to correctly find launch files tested on nvidia jetson xavier, ubuntu 18.04, ros2 eloquent Signed-off-by: Chris Lalancette <[email protected]> Co-authored-by: Chris Lalancette <[email protected]>
1 parent 0cfb0d4 commit 5163254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/Tutorials/Developing-a-ROS-2-Package.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ and a ``setup.py`` file that looks like:
117117
# Include our package.xml file
118118
(os.path.join('share', package_name), ['package.xml']),
119119
# Include all launch files.
120-
(os.path.join('share', package_name, 'launch'), glob('*.launch.py'))
120+
(os.path.join('share', package_name, 'launch'), glob(os.path.join('launch', *.launch.py'))),
121121
],
122122
# This is important as well
123123
install_requires=['setuptools'],

0 commit comments

Comments
 (0)