summaryrefslogtreecommitdiff
path: root/sys-cluster/hpx/files/hpx-1.6.0-python.patch
blob: 412e7289bc5bd01a1b8cdbae3af4bf15664bffad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
From 3d8d3acf0daad9cec8b092d67f7187265f7704e3 Mon Sep 17 00:00:00 2001
From: Kurt Kanzenbach <kurt@kmk-computers.de>
Date: Tue, 17 Mar 2020 16:20:35 +0100
Subject: [PATCH 1/3] cmake: python: Use standard python interpreter

These scripts are needed during build and run time. So, use a python interpreter
which works for both cases.

Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
---
 cmake/templates/hpxcxx.in    | 2 +-
 cmake/templates/hpxrun.py.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmake/templates/hpxcxx.in b/cmake/templates/hpxcxx.in
index 81f38f89367d..a0fd7837b066 100755
--- a/cmake/templates/hpxcxx.in
+++ b/cmake/templates/hpxcxx.in
@@ -1,4 +1,4 @@
-#! @PYTHON_EXECUTABLE@
+#! /usr/bin/env python
 #
 # Copyright (c) 2014 Steven R. Brandt
 #
diff --git a/cmake/templates/hpxrun.py.in b/cmake/templates/hpxrun.py.in
index 60e59cc118d9..0c32bba98917 100755
--- a/cmake/templates/hpxrun.py.in
+++ b/cmake/templates/hpxrun.py.in
@@ -1,4 +1,4 @@
-#! @PYTHON_EXECUTABLE@
+#! /usr/bin/env python
 #
 # Copyright (c) 2014 Thomas Heller
 #
-- 
2.30.1