diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2019-09-22 10:39:36 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-10-01 11:16:43 +0000 |
commit | 68c9a2870ead8a3306a2601c4f5689656d49c6a8 (patch) | |
tree | 87f42e176655e1458ec732e6ddd5bcb9e21335ab /util/ec3po | |
parent | aee33d5c90f8a1c754dc7651a9c8aad20bb063ec (diff) | |
download | chrome-ec-68c9a2870ead8a3306a2601c4f5689656d49c6a8.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>
Diffstat (limited to 'util/ec3po')
-rwxr-xr-x | util/ec3po/console.py | 2 | ||||
-rwxr-xr-x | util/ec3po/console_unittest.py | 2 | ||||
-rwxr-xr-x | util/ec3po/interpreter_unittest.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/util/ec3po/console.py b/util/ec3po/console.py index a730d3d8ec..3643ea498a 100755 --- a/util/ec3po/console.py +++ b/util/ec3po/console.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/ec3po/console_unittest.py b/util/ec3po/console_unittest.py index 72565ca510..3c194d8419 100755 --- a/util/ec3po/console_unittest.py +++ b/util/ec3po/console_unittest.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/ec3po/interpreter_unittest.py b/util/ec3po/interpreter_unittest.py index 57c9abf4ae..de2335158b 100755 --- a/util/ec3po/interpreter_unittest.py +++ b/util/ec3po/interpreter_unittest.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. |