Skip to content

Commit 09e4cee

Browse files
fix ROS installation prefix for RPM generator (#741)
The default 'installation_prefix' is '/usr'. This is wrong for 'rosrpm' and has to be prefixed correctly with the default ROS installation.
1 parent b42a1dd commit 09e4cee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bloom/generators/rosrpm.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,8 @@ def get_subs(pkg, os_name, os_version, ros_distro):
163163
pkg,
164164
os_name,
165165
os_version,
166-
ros_distro
166+
ros_distro,
167+
RosRpmGenerator.default_install_prefix + ros_distro,
167168
)
168169
subs['Package'] = rosify_package_name(subs['Package'], ros_distro)
169170
return subs

0 commit comments

Comments
 (0)