-
Notifications
You must be signed in to change notification settings - Fork 714
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pahole: call python via env in the shebang
Signed-off-by: Matteo Croce <[email protected]> Signed-off-by: Khem Raj <[email protected]>
- Loading branch information
1 parent
0f21174
commit b23770a
Showing
2 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
...pes-devtools/pahole/files/0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
From 436163ab845c263312cf3d4717a43727cf5f0747 Mon Sep 17 00:00:00 2001 | ||
From: Matteo Croce <[email protected]> | ||
Date: Wed, 15 Sep 2021 17:54:01 +0200 | ||
Subject: [PATCH] Use /usr/bin/env python3 instead of just /usr/bin/python3 | ||
|
||
Upstream-Status: inappropriate [OE specific] | ||
|
||
--- | ||
ostra/ostra-cg | 2 +- | ||
ostra/python/ostra.py | 2 +- | ||
2 files changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/ostra/ostra-cg b/ostra/ostra-cg | ||
index 52c902e..8142e67 100755 | ||
--- a/ostra/ostra-cg | ||
+++ b/ostra/ostra-cg | ||
@@ -1,4 +1,4 @@ | ||
-#!/usr/bin/python3 | ||
+#!/usr/bin/env python3 | ||
# ostra-cg - generate callgraphs from encoded trace | ||
# | ||
# Arnaldo Carvalho de Melo <[email protected]> | ||
diff --git a/ostra/python/ostra.py b/ostra/python/ostra.py | ||
index 86fe079..9bb5ad1 100755 | ||
--- a/ostra/python/ostra.py | ||
+++ b/ostra/python/ostra.py | ||
@@ -1,4 +1,4 @@ | ||
-#!/usr/bin/python3 | ||
+#!/usr/bin/env python3 | ||
# | ||
# Copyright (C) 2005, 2006, 2007 Arnaldo Carvalho de Melo | ||
# | ||
-- | ||
2.31.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters