Skip to content

Commit

Permalink
package.xml: use uppercase ROS_VERSION for buildtool_depend condition
Browse files Browse the repository at this point in the history
* otherwise it won't be parsed correctly by superflore as explained in:
  "bitbake: use own condition_context instead of whole os.environ"
  commit from:
  ros-infrastructure/superflore#280

Signed-off-by: Martin Jansa <martin.jansa@lge.com>
  • Loading branch information
shr-project authored and hadiTab committed Dec 14, 2020
1 parent 0e5e7bd commit 8de7551
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<license>BSD</license>
<author email="david.uhm@lge.com">David Uhm</author>

<buildtool_depend condition="$ros_version == 1">catkin</buildtool_depend>
<buildtool_depend condition="$ros_version == 2">ament_cmake</buildtool_depend>
<buildtool_depend condition="$ROS_VERSION == 1">catkin</buildtool_depend>
<buildtool_depend condition="$ROS_VERSION == 2">ament_cmake</buildtool_depend>

<build_depend condition="$ROS_VERSION == 1">message_generation</build_depend>
<build_depend condition="$ROS_VERSION == 2">rosidl_default_generators</build_depend>
Expand Down

0 comments on commit 8de7551

Please sign in to comment.