mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-27 13:39:33 +00:00
image_builder: fix bug w scope of variable
This commit is contained in:
@@ -50,7 +50,7 @@ resolve_rosdep() {
|
||||
for i in {1..5}; do
|
||||
# Resolving Dependencies with rosdep
|
||||
rosdep install -y --from-paths src --ignore-src --rosdistro ${ROS_DISTRO} -r --os=${OS_DISTRO}:${OS_VERSION} \
|
||||
&& (install_ok=true; break) || (echo_stamp "rosdep iteration #$i failed!" "ERROR"; sleep 2)
|
||||
&& install_ok=true && break || (echo_stamp "rosdep iteration #$i failed!" "ERROR"; sleep 2)
|
||||
done
|
||||
set -e
|
||||
# Stage fail if this condition is not true
|
||||
|
||||
Reference in New Issue
Block a user