You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-ros/rosbash/files/catkin_prefix.patch

14 lines
443 B

Index: rosbash/scripts/rosrun
===================================================================
--- rosbash.orig/scripts/rosrun
+++ rosbash/scripts/rosrun
@@ -47,7 +47,7 @@ case $2 in
;;
esac
-if [[ -n $CMAKE_PREFIX_PATH ]]; then
+if [[ -n $CMAKE_PREFIX_PATH || -n $CATKIN_PREFIX_PATH ]]; then
_rosrun_IFS="$IFS"
IFS=$'\n'
catkin_package_libexec_dirs=($(catkin_find --without-underlays --libexec --share "$1" 2> /dev/null))