mirror of
https://github.com/wjwwood/serial.git
synced 2026-01-23 04:04:54 +08:00
force use of python2 executable by catkin packages
This commit is contained in:
parent
751ffe5708
commit
e2996da106
2
Makefile
2
Makefile
@ -18,7 +18,7 @@ ifeq ($(UNAME),Darwin)
|
|||||||
cd catkin_ws && rosinstall_generator catkin --rosdistro hydro --tar > catkin.rosinstall
|
cd catkin_ws && rosinstall_generator catkin --rosdistro hydro --tar > catkin.rosinstall
|
||||||
cd catkin_ws && wstool init src catkin.rosinstall
|
cd catkin_ws && wstool init src catkin.rosinstall
|
||||||
cd catkin_ws && rosdep install --from-paths src --ignore-src -y
|
cd catkin_ws && rosdep install --from-paths src --ignore-src -y
|
||||||
cd catkin_ws && python2 ./src/catkin/bin/catkin_make install
|
cd catkin_ws && python2 ./src/catkin/bin/catkin_make -DPYTHON_EXECUTABLE=$(which python2) install
|
||||||
echo "source catkin_ws/install/setup.bash" > setup.bash
|
echo "source catkin_ws/install/setup.bash" > setup.bash
|
||||||
else
|
else
|
||||||
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu precise main" > /etc/apt/sources.list.d/ros-latest.list'
|
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu precise main" > /etc/apt/sources.list.d/ros-latest.list'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user