aboutsummaryrefslogtreecommitdiff
path: root/util/lint
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2018-11-17 09:47:27 +0100
committerPatrick Georgi <pgeorgi@google.com>2018-11-18 09:12:22 +0000
commit7ec15c82f4c8994021be25b42771d3b457068f44 (patch)
tree22a6d599250489e7e157f5a3959a96ec71643ca3 /util/lint
parent5a61cc5d22bd302dde5a9a4b5491fceebcb9b18d (diff)
util: Fix shebang for python2 scripts
Python 3 is the default Python interpreter on most modern systems. Python 2 scripts must specify they should be run with Python 2 in their shebang. Solves issue raised in CB:28953. Change-Id: I9ace4afd668539c05e7ace30e255af50c7a069c2 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/29666 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/lint')
-rwxr-xr-xutil/lint/checkpatch_json.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/lint/checkpatch_json.py b/util/lint/checkpatch_json.py
index 74ad96a100..c8dd36df44 100755
--- a/util/lint/checkpatch_json.py
+++ b/util/lint/checkpatch_json.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
# Copyright (C) 2018 Intel Corporation.
# written by Naresh G Solanki<naresh.solanki@intel.com> and
# Maulik V Vaghela <maulik.v.vaghela@intel.com>