diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-25 08:07:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-25 08:07:03 +0000 |
commit | a1b20429e7e2ba1b44414459afd5a2b50788cd9c (patch) | |
tree | e721db30ecc3e534a03ab9b3115762959cc0c28c /dev-ros/ros_environment/files/catkinprefixpath.patch | |
parent | dbbd2ae5e62a232616ede4dae3ed69e15903940a (diff) |
gentoo auto-resync : 25:01:2023 - 08:07:03
Diffstat (limited to 'dev-ros/ros_environment/files/catkinprefixpath.patch')
-rw-r--r-- | dev-ros/ros_environment/files/catkinprefixpath.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/dev-ros/ros_environment/files/catkinprefixpath.patch b/dev-ros/ros_environment/files/catkinprefixpath.patch deleted file mode 100644 index 67f16ec9348a..000000000000 --- a/dev-ros/ros_environment/files/catkinprefixpath.patch +++ /dev/null @@ -1,20 +0,0 @@ -Support CATKIN_PREFIX_PATH; let CMAKE_PREFIX_PATH come first, so that standard ROS methods still work even if we do not -use them. - -Index: ros_environment-1.2.0/env-hooks/1.ros_package_path.sh.em -=================================================================== ---- ros_environment-1.2.0.orig/env-hooks/1.ros_package_path.sh.em -+++ ros_environment-1.2.0/env-hooks/1.ros_package_path.sh.em -@@ -4,8 +4,10 @@ - PYTHON_CODE_BUILD_ROS_PACKAGE_PATH=$(cat <<EOF - from __future__ import print_function - import os --env_name = 'CMAKE_PREFIX_PATH' --paths = [path for path in os.environ[env_name].split(os.pathsep)] if env_name in os.environ and os.environ[env_name] != '' else [] -+env_names = [ 'CMAKE_PREFIX_PATH', 'CATKIN_PREFIX_PATH' ] -+paths = [] -+for env_name in env_names: -+ paths += [path for path in os.environ[env_name].split(os.pathsep)] if env_name in os.environ and os.environ[env_name] != '' else [] - workspaces = [path for path in paths if os.path.exists(os.path.join(path, '.catkin'))] - paths = [] - for workspace in workspaces: |