From 29ac0745e46502c47c597923bb9f84226d53f66b Mon Sep 17 00:00:00 2001 From: Tomas Baca Date: Sun, 13 Aug 2023 09:56:25 +0200 Subject: [PATCH] pes --- .ci/build.sh | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.ci/build.sh b/.ci/build.sh index 74f84dabad..9ed27f8186 100755 --- a/.ci/build.sh +++ b/.ci/build.sh @@ -64,13 +64,18 @@ echo "" ROSDEP_FILE=$ARTIFACTS_FOLDER/generated_$ARCH.yaml -echo "$0: adding $ROSDEP_FILE to rodep" -echo "$0: contents:" cat $ROSDEP_FILE -echo "yaml file://$ROSDEP_FILE" | sudo tee /etc/ros/rosdep/sources.list.d/temp.list +if [ -s $ROSDEP_FILE ]; then -rosdep update + echo "$0: adding $ROSDEP_FILE to rodep" + echo "$0: contents:" + + echo "yaml file://$ROSDEP_FILE" | sudo tee /etc/ros/rosdep/sources.list.d/temp.list + + rosdep update + +fi for PACKAGE in $BUILD_ORDER; do