[PATCH 1/2] utils: checkstyle.py: Don't presume python3 location
Kieran Bingham
kieran.bingham at ideasonboard.com
Tue Feb 27 14:10:48 CET 2024
Quoting Milan Zamazal (2024-02-27 12:14:46)
> python3 binary may be present in a location other than /usr/bin/.
>
> Signed-off-by: Milan Zamazal <mzamazal at redhat.com>
Reviewed-by: Kieran Bingham <kieran.bingham 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.
> #
> --
> 2.42.0
>
More information about the libcamera-devel
mailing list