File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,16 +68,16 @@ marinholab_pkg_array=(
6868# Update rosdep only once
6969# ###################################################################
7070
71- if [ ! -f " $HOME /rosdep_ros2 .yaml" ]; then
71+ if [ ! -f " $HOME /rosdep_sas_lgpl .yaml" ]; then
7272 # Create link
73- ln -s " $PWD /rosdep_ros2 .yaml" " $HOME /rosdep_ros2 .yaml"
73+ ln -s " $PWD /rosdep_sas_lgpl .yaml" " $HOME /rosdep_sas_lgpl .yaml"
7474
7575 # Rosdep
7676 sudo rosdep init
7777
7878 # Add sas packages to rosdep
7979 cd ~ || exit 1
80- echo " yaml file:///$HOME /rosdep_ros2 .yaml" | sudo tee -a /etc/ros/rosdep/sources.list.d/20-default.list
80+ echo " yaml file:///$HOME /rosdep_sas_lgpl .yaml" | sudo tee -a /etc/ros/rosdep/sources.list.d/20-default.list
8181
8282 # Update rosdep
8383 rosdep update
8888# Create and cd tmp folder
8989# ###################################################################
9090
91- TMP_DIR=` mktemp -d`
91+ TMP_DIR=$( mktemp -d)
9292echo " Temporary dir $TMP_DIR will be used for this build."
93- cd $TMP_DIR
93+ cd " $TMP_DIR "
9494
9595# Create temporary folder removal script. We do not attempt to do that
9696# here because a wrong rm can be catastrophic. Run at your own risk.
9797echo "
9898#!/bin/bash
9999rm -r $TMP_DIR
100- " > " ~/sas_ws /src/sas/.devel/remove_tmp_folder.sh"
100+ " > " $HOME /src/sas/.devel/remove_tmp_folder.sh"
101101
102102# ###################################################################
103103# Clone all packages
File renamed without changes.
You can’t perform that action at this time.
0 commit comments