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:
Timo Korthals 2019-01-30 19:56:19 +01:00 committed by Dirk Thomas
parent 0383ed181c
commit 41d6f1cc6f
1 changed files with 1 additions and 1 deletions

View File

@ -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"