Skip to content

Commit

Permalink
[debian] Set ROS_VERSION in the environment
Browse files Browse the repository at this point in the history
  • Loading branch information
gergondet committed Feb 14, 2024
1 parent c9b8b99 commit 1cc319a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# -*- makefile -*-

export ROS_DISTRO:=@ROS_DISTRO@
export ROS_VERSION:=$(shell . /opt/ros/${ROS_DISTRO}/setup.sh && echo $$ROS_VERSION)
export ROS_PYTHON_VERSION:=$(shell . /opt/ros/${ROS_DISTRO}/setup.sh && echo $$ROS_PYTHON_VERSION)
ifeq (${ROS_PYTHON_VERSION}, 3)
export PYTHONPATH:=/opt/ros/${ROS_DISTRO}/lib/python3/dist-packages:${PYTHONPATH}
Expand Down

0 comments on commit 1cc319a

Please sign in to comment.