[ros-rospack] 03/07: Add usr/share as default ROS_PACKAGE_PATH
Jochen Sprickerhof
jspricke-guest at moszumanska.debian.org
Tue Jul 26 16:31:20 UTC 2016
This is an automated email from the git hooks/post-receive script.
jspricke-guest pushed a commit to branch patch-queue/master
in repository ros-rospack.
commit 33a4aae5e686233f2062efaf5eb0f699b5641621
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 18be326..b213566 100644
--- a/src/rospack.cpp
+++ b/src/rospack.cpp
@@ -277,6 +277,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