2018-04-15 14:36:18 +08:00
|
|
|
From 7894487c0d749124c3b0d82fcebff2309a84024a Mon Sep 17 00:00:00 2001
|
2016-06-01 17:31:20 +08:00
|
|
|
From: Lukas Bulwahn <lukas.bulwahn@bmw-carit.de>
|
|
|
|
Date: Tue, 31 May 2016 15:38:05 +0200
|
|
|
|
Subject: [PATCH] use python provided by environment instead of the generated
|
|
|
|
one
|
|
|
|
|
|
|
|
The catkin developers changed the cmake-generated template _setup_util.py
|
|
|
|
to use @PYTHON_EXECUTABLE@ instead of /usr/bin/env python in changeset
|
|
|
|
bf12b40c2 [1]. We revert this change here to address the issue #384 [2].
|
|
|
|
|
|
|
|
[1] https://github.com/ros/catkin/commit/bf12b40c2a93b11c3666619a474d35bcfea20837
|
|
|
|
[2] https://github.com/bmwcarit/meta-ros/issues/384
|
|
|
|
|
|
|
|
Upstream-Status: Inappropriate [only for our setup]
|
|
|
|
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
|
2018-04-15 14:36:18 +08:00
|
|
|
|
2016-06-01 17:31:20 +08:00
|
|
|
---
|
|
|
|
cmake/templates/_setup_util.py.in | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/cmake/templates/_setup_util.py.in b/cmake/templates/_setup_util.py.in
|
2018-04-15 14:36:18 +08:00
|
|
|
index 1949c4c..f8807f3 100755
|
2016-06-01 17:31:20 +08:00
|
|
|
--- a/cmake/templates/_setup_util.py.in
|
|
|
|
+++ b/cmake/templates/_setup_util.py.in
|
|
|
|
@@ -1,4 +1,4 @@
|
|
|
|
-#!@PYTHON_EXECUTABLE@
|
|
|
|
+#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
# Software License Agreement (BSD License)
|