[PATCH 1/2] utils: checkstyle.py: Don't presume python3 location

Laurent Pinchart laurent.pinchart at ideasonboard.com
Tue Feb 27 13:28:26 CET 2024


Hi Milan,

Thank you for the patch.

On Tue, Feb 27, 2024 at 01:14:46PM +0100, Milan Zamazal wrote:
> python3 binary may be present in a location other than /usr/bin/.
> 
> Signed-off-by: Milan Zamazal <mzamazal at redhat.com>

Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>

> ---
>  utils/checkstyle.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 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.
>  #

-- 
Regards,

Laurent Pinchart


More information about the libcamera-devel mailing list