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 /extra | |
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 'extra')
-rw-r--r-- | extra/cr50_rma_open/cr50_rma_open.py | 2 | ||||
-rwxr-xr-x | extra/tigertool/tigertool.py | 2 | ||||
-rw-r--r-- | extra/usb_power/convert_power_log_board.py | 2 | ||||
-rwxr-xr-x | extra/usb_power/convert_servo_ina.py | 2 | ||||
-rwxr-xr-x | extra/usb_power/powerlog.py | 2 | ||||
-rwxr-xr-x | extra/usb_serial/console.py | 2 | ||||
-rwxr-xr-x | extra/usb_spi/stm32spi.py | 2 | ||||
-rwxr-xr-x | extra/usb_updater/fw_update.py | 2 | ||||
-rwxr-xr-x | extra/usb_updater/servo_updater.py | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/extra/cr50_rma_open/cr50_rma_open.py b/extra/cr50_rma_open/cr50_rma_open.py index 4a83232911..1cc90dca5d 100644 --- a/extra/cr50_rma_open/cr50_rma_open.py +++ b/extra/cr50_rma_open/cr50_rma_open.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/env python2 # Copyright 2018 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/extra/tigertool/tigertool.py b/extra/tigertool/tigertool.py index c4ce86f01f..a3c25e3ad6 100755 --- a/extra/tigertool/tigertool.py +++ b/extra/tigertool/tigertool.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/env python2 # Copyright 2017 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/extra/usb_power/convert_power_log_board.py b/extra/usb_power/convert_power_log_board.py index 3f0cfec014..b970d86cd7 100644 --- a/extra/usb_power/convert_power_log_board.py +++ b/extra/usb_power/convert_power_log_board.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python2 # Copyright 2018 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/extra/usb_power/convert_servo_ina.py b/extra/usb_power/convert_servo_ina.py index 188bae8799..aabe4967da 100755 --- a/extra/usb_power/convert_servo_ina.py +++ b/extra/usb_power/convert_servo_ina.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python2 # Copyright 2017 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/extra/usb_power/powerlog.py b/extra/usb_power/powerlog.py index 44754ad663..e079ca1188 100755 --- a/extra/usb_power/powerlog.py +++ b/extra/usb_power/powerlog.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python2 # Copyright 2016 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/extra/usb_serial/console.py b/extra/usb_serial/console.py index bc03ea869e..75879fb99c 100755 --- a/extra/usb_serial/console.py +++ b/extra/usb_serial/console.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python2 # Copyright 2016 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/extra/usb_spi/stm32spi.py b/extra/usb_spi/stm32spi.py index ecd4edb8e9..a8948c0002 100755 --- a/extra/usb_spi/stm32spi.py +++ b/extra/usb_spi/stm32spi.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 +#!/usr/bin/env python2 # Copyright 2016 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/extra/usb_updater/fw_update.py b/extra/usb_updater/fw_update.py index 8a73070ccf..3755ba9d20 100755 --- a/extra/usb_updater/fw_update.py +++ b/extra/usb_updater/fw_update.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python2 # Copyright 2016 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/extra/usb_updater/servo_updater.py b/extra/usb_updater/servo_updater.py index 2a01ea7069..c819230f21 100755 --- a/extra/usb_updater/servo_updater.py +++ b/extra/usb_updater/servo_updater.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python2 # Copyright 2016 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. |