Add verbose output to rosrun if catkin_find fails (#182)
* Add verbose output to rosrun if catkin_find fails Signed-off-by: Timo Korthals <tkorthals@cit-ec.uni-bielefeld.de> * Add verbose output including stderr of catkin_find if debug is enabled Signed-off-by: Timo Korthals tkorthals@cit-ec.uni-bielefeld.de
This commit is contained in:
parent
0383ed181c
commit
41d6f1cc6f
|
@ -50,8 +50,8 @@ esac
|
|||
if [[ -n $CMAKE_PREFIX_PATH ]]; then
|
||||
IFS=$'\n'
|
||||
catkin_package_libexec_dirs=($(catkin_find --without-underlays --libexec --share "$1" 2> /dev/null))
|
||||
debug "Looking in catkin libexec dirs: $IFS$(catkin_find --without-underlays --libexec --share "$1" 2>&1)"
|
||||
unset IFS
|
||||
debug "Looking in catkin libexec dirs: ${catkin_package_libexec_dirs[*]}"
|
||||
fi
|
||||
pkgdir=$(rospack find "$1")
|
||||
debug "Looking in rospack dir: $pkgdir"
|
||||
|
|
Loading…
Reference in New Issue