rosrun should also search in share / src for executable scripts
This commit is contained in:
parent
e3c6f8eade
commit
17ea6b1e51
|
@ -22,7 +22,7 @@ esac
|
|||
# basename also makes .//foo into foo
|
||||
basename=`basename $2`
|
||||
if [[ -n $CMAKE_PREFIX_PATH ]]; then
|
||||
catkin_package_libexec_dir=`catkin_find --without-underlays --libexec $1 2> /dev/null`
|
||||
catkin_package_libexec_dir=`catkin_find --without-underlays --libexec --share $1 2> /dev/null`
|
||||
fi
|
||||
pkgdir=`rospack find $1`
|
||||
if [[ -z $catkin_package_libexec_dir && -z $pkgdir ]]; then
|
||||
|
|
Loading…
Reference in New Issue