Skip to content

Commit

Permalink
[debian] Pass full path to Python executables
Browse files Browse the repository at this point in the history
  • Loading branch information
gergondet committed Apr 8, 2023
1 parent ef45f97 commit 14aa02d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ else
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}
export PYTHON_EXECUTABLE=python3
export PYTHON_EXECUTABLE=/usr/bin/python3
else
export PYTHONPATH:=/opt/ros/${ROS_DISTRO}/lib/python2.7/dist-packages:${PYTHONPATH}
export PYTHON_EXECUTABLE=python2
export PYTHON_EXECUTABLE=/usr/bin/python
endif
export PKG_CONFIG_PATH=/opt/ros/${ROS_DISTRO}/lib/pkgconfig:$PKG_CONFIG_PATH
export ROS_MASTER_URI=http://localhost:11311
Expand Down

0 comments on commit 14aa02d

Please sign in to comment.