Skip to content

Commit

Permalink
#310: use mv instead of ln because 'git status' shows a lot of change…
Browse files Browse the repository at this point in the history
…s because of renaming
  • Loading branch information
garaemon committed Mar 27, 2014
1 parent b01b106 commit e24bc99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rosdep-update.sh
@@ -1,8 +1,8 @@
#!/bin/bash

trap 'find -L . -name manifest.xml.deprecated | xargs -n 1 -i dirname {} | xargs -n 1 -i ln -sf `pwd`/{}/manifest.xml.deprecated `pwd`/{}/manifest.xml' 1 2 3 15
trap 'find -L . -name manifest.xml.deprecated | xargs -n 1 -i dirname {} | xargs -n 1 -i mv `pwd`/{}/manifest.xml.deprecated `pwd`/{}/manifest.xml' 1 2 3 15

find -L . -name package.xml -exec dirname {} \; | xargs -n 1 -i find {} -name manifest.xml | xargs -n 1 -i mv {} {}.deprecated # rename manifest.xml for rosdep install
rosdep install -r -n --from-paths . --ignore-src --rosdistro $ROS_DISTRO -y
find -L . -name manifest.xml.deprecated | xargs -n 1 -i dirname {} | xargs -n 1 -i ln -sf `pwd`/{}/manifest.xml.deprecated `pwd`/{}/manifest.xml
find -L . -name manifest.xml.deprecated | xargs -n 1 -i dirname {} | xargs -n 1 -i mv `pwd`/{}/manifest.xml.deprecated `pwd`/{}/manifest.xml

0 comments on commit e24bc99

Please sign in to comment.