[PATCH] utils: rkisp1: gen-csc-table.py: Don't presume python3 location
Dan Scally
dan.scally at ideasonboard.com
Tue Feb 27 14:51:16 CET 2024
Hi Laurent
On 27/02/2024 13:41, Laurent Pinchart wrote:
> 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: Daniel Scally <dan.scally 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
> #
More information about the libcamera-devel
mailing list