removing old scripts
This commit is contained in:
parent
0e89812f50
commit
2aafd73acd
|
@ -1,12 +0,0 @@
|
|||
#!/bin/bash
|
||||
set -o errexit
|
||||
echo "NOTE: this mechanism is deprecated. It is now preferred to add rosdep.yaml files to individual stacks; rosdep will merge them on-the-fly."
|
||||
if [ $# -ne 1 ] ; then
|
||||
echo "syntax: depdb-update FILE"
|
||||
exit 1
|
||||
fi
|
||||
BACKUP=$(dirname $1)/rosdep.yaml.$(date "+%F-%H-%M-%S")
|
||||
echo "backing up your current rosdep.yaml file to $BACKUP"
|
||||
cp $1 $BACKUP
|
||||
echo "downloading the latest rosdep.yaml from sourceforge..."
|
||||
wget -q http://ros.svn.sourceforge.net/svnroot/ros/trunk/tools/rosdep/rosdep.yaml -O $1
|
|
@ -1,18 +0,0 @@
|
|||
#!/bin/bash
|
||||
set -o errexit
|
||||
if [ $# -lt 1 ] ; then
|
||||
echo "syntax: satisfy PACKAGE[S]"
|
||||
exit 1
|
||||
fi
|
||||
# first, try to generate the bash quietly. see if that craps out.
|
||||
if ! rosdep generate_bash $* >/dev/null ; then
|
||||
# do it again, so that stdout can see what happened and errexit
|
||||
rosdep generate_bash $*
|
||||
fi
|
||||
|
||||
# since that seemed to succeed, try to run it.
|
||||
if bash <(rosdep generate_bash $*) ; then
|
||||
echo -e "\n[rosdep]: success\n"
|
||||
else
|
||||
echo -e "\n[rosdep]: failure\n"
|
||||
fi
|
Loading…
Reference in New Issue