Skip to content

Commit

Permalink
[rsdf] Remove surface files that are no longer present
Browse files Browse the repository at this point in the history
  • Loading branch information
arntanguy committed Mar 12, 2021
1 parent f80dc36 commit 26c39f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion generate_robot_description.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ done
if [ -d $robot_dir/rsdf ]
then
echo "-- Adding surface definitions from $robot_dir/rsdf"
cp $robot_dir/rsdf/*.rsdf $gen_path/rsdf
# Copy rsdf files and delete the ones that no longer exist
rsync -av --prune-empty-dirs --include '*.rsdf' --delete ${robot_dir}/rsdf/ ${gen_path}/rsdf
else
echo "Warning: no rsdf surface definition in $this_dir"
fi
Expand Down

0 comments on commit 26c39f0

Please sign in to comment.