Skip to content

Commit

Permalink
Use python directly to avoid confusion between build/host python in c…
Browse files Browse the repository at this point in the history
…ross-compiled builds
  • Loading branch information
Tobias-Fischer authored May 20, 2021
1 parent 2342631 commit cf822af
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions patch/ros-noetic-ros-environment.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
diff --git a/env-hooks/1.ros_package_path.sh.em b/env-hooks/1.ros_package_path.sh.em
index 2031fde..3bd03c3 100644
--- a/env-hooks/1.ros_package_path.sh.em
+++ b/env-hooks/1.ros_package_path.sh.em
@@ -23,4 +23,4 @@ for workspace in workspaces:
print(os.pathsep.join(paths))
EOF
)
-export ROS_PACKAGE_PATH="`@(PYTHON_EXECUTABLE) -c \"$PYTHON_CODE_BUILD_ROS_PACKAGE_PATH\"`"
+export ROS_PACKAGE_PATH="`python -c \"$PYTHON_CODE_BUILD_ROS_PACKAGE_PATH\"`"

0 comments on commit cf822af

Please sign in to comment.