From patchwork Tue Feb 27 13:41:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 19550 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 31AD8BD160 for ; Tue, 27 Feb 2024 13:41:14 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 3B4A062865; Tue, 27 Feb 2024 14:41:13 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="FQn27DCi"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id E4D58627FC for ; Tue, 27 Feb 2024 14:41:10 +0100 (CET) Received: from pendragon.ideasonboard.com (89-27-53-110.bb.dnainternet.fi [89.27.53.110]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 8EBE08D4 for ; Tue, 27 Feb 2024 14:40:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1709041258; bh=yn+FbozhSBFvz/9651RSngN/gMCF5AEx4E2Jn6tn420=; h=From:To:Subject:Date:From; b=FQn27DCiituQy/1DZP2na7Sun2EgfW7byGSATGZsVLuSpEJIyDB2Sf/YyDv/QiEJH EEqTwoVlFWF1RmNpfkX5OdwUlBeRBlArdsMX//nt1h7RmeCNBWsqK0w8j9XJCTIMti c6Sx1Jt8inL6L/b5CUujyqXRMVA3EOHU1BWCTTiA= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Subject: [PATCH] utils: rkisp1: gen-csc-table.py: Don't presume python3 location Date: Tue, 27 Feb 2024 15:41:13 +0200 Message-ID: <20240227134113.23344-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" 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 Reviewed-by: Daniel Scally Reviewed-by: Stefan Klug --- 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 #