diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2019-09-22 10:39:36 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-12-19 08:22:38 +0000 |
commit | 53c7235bba5e2bdb3fcb96df1e5920d8589ac6bd (patch) | |
tree | 02e65d48444f304450e2e3ea75fe08154b020bd7 | |
parent | 4ee8b586eaf2480c37d84baed94a29d6507eff3f (diff) | |
download | chrome-ec-53c7235bba5e2bdb3fcb96df1e5920d8589ac6bd.tar.gz |
Unify #! use in python scripts
Right now we have several different versions of #! in
our python scripts. Unify them all and specify that we
are using python2.
Signed-off-by: Stefan Reinauer <reinauer@chromium.org>
BUG=none
BRANCH=none
TEST=make buildall
Change-Id: Iab33a3f5d4b827451a55542bcee8837b00da7867
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1817948
Commit-Queue: Stefan Reinauer <reinauer@chromium.org>
Tested-by: Stefan Reinauer <reinauer@chromium.org>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
(cherry picked from commit 68c9a2870ead8a3306a2601c4f5689656d49c6a8)
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1970289
-rwxr-xr-x | chip/mec1322/util/pack_ec.py | 2 | ||||
-rwxr-xr-x | util/config_option_check.py | 2 | ||||
-rwxr-xr-x | util/flash_pd.py | 2 | ||||
-rwxr-xr-x | util/run_host_test | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/chip/mec1322/util/pack_ec.py b/chip/mec1322/util/pack_ec.py index 4bf0b20567..95d636c2d6 100755 --- a/chip/mec1322/util/pack_ec.py +++ b/chip/mec1322/util/pack_ec.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2013 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be diff --git a/util/config_option_check.py b/util/config_option_check.py index 4ce6364d13..d8f789dfcf 100755 --- a/util/config_option_check.py +++ b/util/config_option_check.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/env python2 # Copyright 2015 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. diff --git a/util/flash_pd.py b/util/flash_pd.py index 71a7ca9b19..f39af7f06d 100755 --- a/util/flash_pd.py +++ b/util/flash_pd.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2014 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. diff --git a/util/run_host_test b/util/run_host_test index e1f620bda3..f817b00cbd 100755 --- a/util/run_host_test +++ b/util/run_host_test @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2013 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be |