From 5afddb609c2e59506e1ec3101ea01cdbdce1b391 Mon Sep 17 00:00:00 2001 From: Patrick Creighton Date: Thu, 8 Jun 2023 22:25:25 -0700 Subject: [PATCH] Skip existing directories when setting up --- setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.sh b/setup.sh index b6ecefa47..736b31093 100755 --- a/setup.sh +++ b/setup.sh @@ -10,11 +10,11 @@ function warn() { # Import all project repositories if [[ $DISABLE_VCS != "true" ]]; then echo "Importing project repositories..." - vcs import < src/new_project.repos src + vcs import < src/new_project.repos src --skip-existing else warn "VCS disabled. Skipping project repository imports..." fi sudo apt-get update -rosdep update --rosdistro $ROS_DISTRO -rosdep install --from-paths src --ignore-src -y --rosdistro $ROS_DISTRO +rosdep update --rosdistro $ROS_DISTRO +rosdep install --from-paths src --ignore-src -y --rosdistro $ROS_DISTRO