diff options
Diffstat (limited to 'meta-oe/recipes-devtools/pahole/files/0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch')
| -rw-r--r-- | meta-oe/recipes-devtools/pahole/files/0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/pahole/files/0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch b/meta-oe/recipes-devtools/pahole/files/0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch new file mode 100644 index 0000000000..54cd096e4f --- /dev/null +++ b/meta-oe/recipes-devtools/pahole/files/0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | From 436163ab845c263312cf3d4717a43727cf5f0747 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Matteo Croce <mcroce@microsoft.com> | ||
| 3 | Date: Wed, 15 Sep 2021 17:54:01 +0200 | ||
| 4 | Subject: [PATCH] Use /usr/bin/env python3 instead of just /usr/bin/python3 | ||
| 5 | |||
| 6 | Upstream-Status: inappropriate [OE specific] | ||
| 7 | |||
| 8 | --- | ||
| 9 | ostra/ostra-cg | 2 +- | ||
| 10 | ostra/python/ostra.py | 2 +- | ||
| 11 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
| 12 | |||
| 13 | diff --git a/ostra/ostra-cg b/ostra/ostra-cg | ||
| 14 | index 52c902e..8142e67 100755 | ||
| 15 | --- a/ostra/ostra-cg | ||
| 16 | +++ b/ostra/ostra-cg | ||
| 17 | @@ -1,4 +1,4 @@ | ||
| 18 | -#!/usr/bin/python3 | ||
| 19 | +#!/usr/bin/env python3 | ||
| 20 | # ostra-cg - generate callgraphs from encoded trace | ||
| 21 | # | ||
| 22 | # Arnaldo Carvalho de Melo <acme@redhat.com> | ||
| 23 | diff --git a/ostra/python/ostra.py b/ostra/python/ostra.py | ||
| 24 | index 86fe079..9bb5ad1 100755 | ||
| 25 | --- a/ostra/python/ostra.py | ||
| 26 | +++ b/ostra/python/ostra.py | ||
| 27 | @@ -1,4 +1,4 @@ | ||
| 28 | -#!/usr/bin/python3 | ||
| 29 | +#!/usr/bin/env python3 | ||
| 30 | # | ||
| 31 | # Copyright (C) 2005, 2006, 2007 Arnaldo Carvalho de Melo | ||
| 32 | # | ||
| 33 | -- | ||
| 34 | 2.31.1 | ||
| 35 | |||
