summaryrefslogtreecommitdiff
path: root/dev-ros/rosbash/files/catkin_prefix2.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ros/rosbash/files/catkin_prefix2.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ros/rosbash/files/catkin_prefix2.patch')
-rw-r--r--dev-ros/rosbash/files/catkin_prefix2.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-ros/rosbash/files/catkin_prefix2.patch b/dev-ros/rosbash/files/catkin_prefix2.patch
new file mode 100644
index 000000000000..f36a7c7d6f08
--- /dev/null
+++ b/dev-ros/rosbash/files/catkin_prefix2.patch
@@ -0,0 +1,13 @@
+Index: ros-1.12.5/tools/rosbash/scripts/rosrun
+===================================================================
+--- ros-1.12.5.orig/tools/rosbash/scripts/rosrun
++++ ros-1.12.5/tools/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
+ IFS=$'\n'
+ catkin_package_libexec_dirs=(`catkin_find --without-underlays --libexec --share "$1" 2> /dev/null`)
+ unset IFS