summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2016-01-23 21:29:47 +0100
committerNico Huber <nico.h@gmx.de>2016-01-26 00:25:19 +0100
commitca41a6ab0a2306665669ba2197ab400605031e96 (patch)
treec954fdf5185900ca15e4fd257156f576afa25401 /util
parent32c4a06a43dd2b61b589e7f9c10f44c1902d7447 (diff)
util: Look for python2 binary instead of python
Make the requirement of python2 explicit in scripts that are incompatible with python3. Change-Id: I77f150bdb3aab316fc3c3a21b911db397fa0106f Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/13286 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util')
-rwxr-xr-xutil/dtd_parser/dtd_parser.py2
-rwxr-xr-xutil/exynos/fixed_cksum.py2
-rwxr-xr-xutil/exynos/variable_cksum.py2
-rwxr-xr-xutil/ipqheader/ipqheader.py2
-rwxr-xr-xutil/ipqheader/mbncat.py2
-rwxr-xr-xutil/mtkheader/gen-bl-img.py2
-rwxr-xr-xutil/rockchip/make_idb.py2
7 files changed, 7 insertions, 7 deletions
diff --git a/util/dtd_parser/dtd_parser.py b/util/dtd_parser/dtd_parser.py
index 40d70c341b..68045cbc49 100755
--- a/util/dtd_parser/dtd_parser.py
+++ b/util/dtd_parser/dtd_parser.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
# dtd_parser.py - DTD structure parser
#
# Copyright (C) 2012 The ChromiumOS Authors. All rights reserved.
diff --git a/util/exynos/fixed_cksum.py b/util/exynos/fixed_cksum.py
index 66da06025d..6679862160 100755
--- a/util/exynos/fixed_cksum.py
+++ b/util/exynos/fixed_cksum.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
#
# Copyright (C) 2013 Google Inc.
#
diff --git a/util/exynos/variable_cksum.py b/util/exynos/variable_cksum.py
index 75cdc74f87..9725261aa5 100755
--- a/util/exynos/variable_cksum.py
+++ b/util/exynos/variable_cksum.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
#
# Copyright (C) 2013 Google Inc.
#
diff --git a/util/ipqheader/ipqheader.py b/util/ipqheader/ipqheader.py
index ebdb9dde91..7615146499 100755
--- a/util/ipqheader/ipqheader.py
+++ b/util/ipqheader/ipqheader.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
#
# Copyright (c) 2013 The Linux Foundation. All rights reserved.
#
diff --git a/util/ipqheader/mbncat.py b/util/ipqheader/mbncat.py
index 98ae01608a..c4da265f80 100755
--- a/util/ipqheader/mbncat.py
+++ b/util/ipqheader/mbncat.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
# Copyright (c) 2014, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
diff --git a/util/mtkheader/gen-bl-img.py b/util/mtkheader/gen-bl-img.py
index 5d464311d8..361912f637 100755
--- a/util/mtkheader/gen-bl-img.py
+++ b/util/mtkheader/gen-bl-img.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
#
# This file is part of the coreboot project.
diff --git a/util/rockchip/make_idb.py b/util/rockchip/make_idb.py
index e95f5c2fd7..12ef83c01b 100755
--- a/util/rockchip/make_idb.py
+++ b/util/rockchip/make_idb.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
# Copyright (c) 2014 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.