[PATCH] utils: rkisp1: gen-csc-table.py: Don't presume python3 location

Stefan Klug stefan.klug at ideasonboard.com
Tue Feb 27 14:57:02 CET 2024


Am 27.02.24 um 14:41 schrieb Laurent Pinchart:
> The python3 binary may be present in a location other than /usr/bin/.
> Use /usr/bin/env to locate it.
> 
> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>

Reviewed-by: Stefan Klug <stefan.klug at ideasonboard.com>

> ---
>   utils/rkisp1/gen-csc-table.py | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/utils/rkisp1/gen-csc-table.py b/utils/rkisp1/gen-csc-table.py
> index c47f50428904..ffc0370acaeb 100755
> --- a/utils/rkisp1/gen-csc-table.py
> +++ b/utils/rkisp1/gen-csc-table.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python3
> +#!/usr/bin/env python3
>   # SPDX-License-Identifier: GPL-2.0-or-later
>   # Copyright (C) 2022, Ideas on Board Oy
>   #

-- 
Regards,

Stefan Klug



More information about the libcamera-devel mailing list