forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-02-17 557c24d082b6ecb9bfe5407b77ae43fa7650a5dc
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
From 436163ab845c263312cf3d4717a43727cf5f0747 Mon Sep 17 00:00:00 2001
From: Matteo Croce <mcroce@microsoft.com>
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 <acme@redhat.com>
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