summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-01-21 18:34:57 +0900
committerTom Rini <trini@konsulko.com>2018-01-28 12:27:30 -0500
commit94b13bbae90bfb94204b8fe9c531bc163e746a9f (patch)
treefdfcfce6af59381fdf934d5987a1aba27ec6323c /tools
parent56d1dded62246c48f772ddbd7211156a8a612974 (diff)
host-tools: use python2 explicitly for shebang
All of these host tools are apparently written for Python2, not Python3. Use 'python2' in the shebang line according to PEP 394 (https://www.python.org/dev/peps/pep-0394/). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/buildman/buildman.py2
-rwxr-xr-xtools/dtoc/dtoc.py2
-rwxr-xr-xtools/microcode-tool.py2
-rwxr-xr-xtools/patman/patman.py2
-rwxr-xr-xtools/rkmux.py2
5 files changed, 5 insertions, 5 deletions
diff --git a/tools/buildman/buildman.py b/tools/buildman/buildman.py
index 11a4f162c5f..473117ccff7 100755
--- a/tools/buildman/buildman.py
+++ b/tools/buildman/buildman.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
#
# Copyright (c) 2012 The Chromium OS Authors.
#
diff --git a/tools/dtoc/dtoc.py b/tools/dtoc/dtoc.py
index ce7bc054e5e..6eacfc90a0a 100755
--- a/tools/dtoc/dtoc.py
+++ b/tools/dtoc/dtoc.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python2
#
# Copyright (C) 2016 Google, Inc
# Written by Simon Glass <sjg@chromium.org>
diff --git a/tools/microcode-tool.py b/tools/microcode-tool.py
index 790c27e4598..069d961d80d 100755
--- a/tools/microcode-tool.py
+++ b/tools/microcode-tool.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
#
# Copyright (c) 2014 Google, Inc
#
diff --git a/tools/patman/patman.py b/tools/patman/patman.py
index 4b3bc787453..7647440be5e 100755
--- a/tools/patman/patman.py
+++ b/tools/patman/patman.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
#
# Copyright (c) 2011 The Chromium OS Authors.
#
diff --git a/tools/rkmux.py b/tools/rkmux.py
index 39173359cae..11c192a0737 100755
--- a/tools/rkmux.py
+++ b/tools/rkmux.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python2
# Script to create enums from datasheet register tables
#