[Mesa-dev] [PATCH 24/37] gallium/tools: use correct shebang for python scripts

Emil Velikov emil.l.velikov at gmail.com
Thu Feb 23 17:13:51 UTC 2017


From: Emil Velikov <emil.velikov at collabora.com>

These are python2 scripts and the generic "python" may point to
python3.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 src/gallium/tools/trace/diff_state.py | 2 +-
 src/gallium/tools/trace/dump.py       | 2 +-
 src/gallium/tools/trace/dump_state.py | 2 +-
 src/gallium/tools/trace/format.py     | 2 +-
 src/gallium/tools/trace/model.py      | 2 +-
 src/gallium/tools/trace/parse.py      | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/gallium/tools/trace/diff_state.py b/src/gallium/tools/trace/diff_state.py
index 00853bacbf..877dc388a8 100755
--- a/src/gallium/tools/trace/diff_state.py
+++ b/src/gallium/tools/trace/diff_state.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 ##########################################################################
 #
 # Copyright 2011 Jose Fonseca
diff --git a/src/gallium/tools/trace/dump.py b/src/gallium/tools/trace/dump.py
index 4a8ce863cf..10211c87c5 100755
--- a/src/gallium/tools/trace/dump.py
+++ b/src/gallium/tools/trace/dump.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 ##########################################################################
 # 
 # Copyright 2008 VMware, Inc.
diff --git a/src/gallium/tools/trace/dump_state.py b/src/gallium/tools/trace/dump_state.py
index e726f7b2ad..4531843279 100755
--- a/src/gallium/tools/trace/dump_state.py
+++ b/src/gallium/tools/trace/dump_state.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 ##########################################################################
 # 
 # Copyright 2008-2013, VMware, Inc.
diff --git a/src/gallium/tools/trace/format.py b/src/gallium/tools/trace/format.py
index e50f61299f..de6f402159 100755
--- a/src/gallium/tools/trace/format.py
+++ b/src/gallium/tools/trace/format.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 ##########################################################################
 #
 # Copyright 2008 VMware, Inc.
diff --git a/src/gallium/tools/trace/model.py b/src/gallium/tools/trace/model.py
index fb56701bf4..6a42184711 100755
--- a/src/gallium/tools/trace/model.py
+++ b/src/gallium/tools/trace/model.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 ##########################################################################
 # 
 # Copyright 2008 VMware, Inc.
diff --git a/src/gallium/tools/trace/parse.py b/src/gallium/tools/trace/parse.py
index 25482c8899..004b585f95 100755
--- a/src/gallium/tools/trace/parse.py
+++ b/src/gallium/tools/trace/parse.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 ##########################################################################
 # 
 # Copyright 2008 VMware, Inc.
-- 
2.11.0



More information about the mesa-dev mailing list