1
0
mirror of https://github.com/wjwwood/serial.git synced 2026-01-23 04:04:54 +08:00

use python2 explicitly to run catkin_make

This commit is contained in:
William Woodall 2018-01-23 11:30:20 -08:00 committed by GitHub
parent ecd2e42a44
commit 751ffe5708
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ ifeq ($(UNAME),Darwin)
cd catkin_ws && rosinstall_generator catkin --rosdistro hydro --tar > catkin.rosinstall
cd catkin_ws && wstool init src catkin.rosinstall
cd catkin_ws && rosdep install --from-paths src --ignore-src -y
cd catkin_ws && ./src/catkin/bin/catkin_make install
cd catkin_ws && python2 ./src/catkin/bin/catkin_make install
echo "source catkin_ws/install/setup.bash" > setup.bash
else
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu precise main" > /etc/apt/sources.list.d/ros-latest.list'