From 0e8ddd366e5f2885643c8b1b638d88703fe1b623 Mon Sep 17 00:00:00 2001 From: William Woodall Date: Tue, 30 Jan 2018 19:30:58 -0800 Subject: [PATCH] how to which --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index de88c6b..e172072 100644 --- a/Makefile +++ b/Makefile @@ -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 && python2 ./src/catkin/bin/catkin_make -DPYTHON_EXECUTABLE=$(which python2) install + cd catkin_ws && python2 ./src/catkin/bin/catkin_make -DPYTHON_EXECUTABLE=`which python2` 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'