From 6e364009e36a0931185964a0002f5310e428dca9 Mon Sep 17 00:00:00 2001 From: Artem Smirnov Date: Thu, 6 Sep 2018 20:55:22 +0300 Subject: [PATCH] image_builder: restyle for init ros_catkin_ws --- image_builder/scripts/ros_install.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/image_builder/scripts/ros_install.sh b/image_builder/scripts/ros_install.sh index 8552b383..080f93fa 100755 --- a/image_builder/scripts/ros_install.sh +++ b/image_builder/scripts/ros_install.sh @@ -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"