summaryrefslogtreecommitdiff
path: root/utils/checkstyle.py
diff options
context:
space:
mode:
authorMilan Zamazal <mzamazal@redhat.com>2024-02-27 13:14:46 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-02-27 15:39:33 +0200
commit08556380b88999cdb8dd52918f2006f4419f57c4 (patch)
tree9439569ebd17e55d8e99edaab21c2c60ac806160 /utils/checkstyle.py
parentf26e75fd0fe62275528d7910609c03dff4a8446e (diff)
utils: checkstyle.py: Don't presume python3 location
python3 binary may be present in a location other than /usr/bin/. Signed-off-by: Milan Zamazal <mzamazal@redhat.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'utils/checkstyle.py')
-rwxr-xr-xutils/checkstyle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/checkstyle.py b/utils/checkstyle.py
index 836ea80f..af553cfd 100755
--- a/utils/checkstyle.py
+++ b/utils/checkstyle.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2018, Google Inc.
#