[ros-rospack] 03/08: Add usr/share as default ROS_PACKAGE_PATH

Jochen Sprickerhof jspricke at moszumanska.debian.org
Wed Jul 12 16:58:00 UTC 2017


This is an automated email from the git hooks/post-receive script.

jspricke pushed a commit to branch patch-queue/master
in repository ros-rospack.

commit 74d85b90650e8ac038ed606bc42f8c2c15126636
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Fri Dec 12 07:48:34 2014 +0100

    Add usr/share as default ROS_PACKAGE_PATH
    
    
    Gbp-Pq: Name 0002-Add-usr-share-as-default-ROS_PACKAGE_PATH.patch
---
 src/rospack.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/rospack.cpp b/src/rospack.cpp
index 5fdfdc9..3b2ea3d 100644
--- a/src/rospack.cpp
+++ b/src/rospack.cpp
@@ -287,6 +287,9 @@ bool
 Rosstackage::getSearchPathFromEnv(std::vector<std::string>& sp)
 {
   char* rpp = getenv("ROS_PACKAGE_PATH");
+
+  sp.push_back("/usr/share/");
+
   if(rpp)
   {
     // I can't see that boost filesystem has an elegant cross platform

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ros/ros-rospack.git



More information about the debian-science-commits mailing list