image_builder: restyle for init ros_catkin_ws

This commit is contained in:
Artem Smirnov
2018-09-06 20:55:22 +03:00
parent b1f79c1903
commit 6e364009e3

View File

@@ -70,9 +70,12 @@ then
&& wstool merge -t src kinetic-custom_ros.rosinstall \
&& wstool update -t src
else
echo_stamp "#5 Creating manual ros_catkin_ws"
echo_stamp "#5 Creating ros_catkin_ws & getting all sources using wstool"
mkdir -p /home/pi/ros_catkin_ws && cd /home/pi/ros_catkin_ws \
&& wstool init src kinetic-ros-coex.rosinstall
&& wstool init src kinetic-ros-coex.rosinstall \
> /dev/null \
&& echo_stamp "ros_catkin_ws was created!" "SUCCESS" \
|| (echo_stamp "ros_catkin_ws wasn't created!" "ERROR"; exit 1)
fi
echo_stamp "#7 Installing dependencies apps with rosdep"