From ca41a6ab0a2306665669ba2197ab400605031e96 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Sat, 23 Jan 2016 21:29:47 +0100 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/13286 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- util/dtd_parser/dtd_parser.py | 2 +- util/exynos/fixed_cksum.py | 2 +- util/exynos/variable_cksum.py | 2 +- util/ipqheader/ipqheader.py | 2 +- util/ipqheader/mbncat.py | 2 +- util/mtkheader/gen-bl-img.py | 2 +- util/rockchip/make_idb.py | 2 +- 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.