From patchwork Tue Feb 27 12:14:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Milan Zamazal X-Patchwork-Id: 19548 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 2AAA3BD160 for ; Tue, 27 Feb 2024 12:17:09 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id D3A5D62806; Tue, 27 Feb 2024 13:17:08 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.b="gNQUJbby"; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id C348A62806 for ; Tue, 27 Feb 2024 13:17:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1709036225; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PYtdTRHX3HDOR6EMK59i+/v+kDB7Rd19bCPWwqUDOao=; b=gNQUJbbysGbsokFG+ptSvdVF7MqbdNCvKnOQNGwFC+3jPpynMrIpPxzGdfdc4Tuyho4ABD AL/RAd5edFValAZE/4TYomLL1cfCQ+Qi6pK2ABlWadTIvDwpzcyvl3AD4tEW9eAb13eXLs t492aUSF5tojN1MZmG44fMDkCeHuimA= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-381-2eLvT9ixOHCFM1E-RwfFXA-1; Tue, 27 Feb 2024 07:17:03 -0500 X-MC-Unique: 2eLvT9ixOHCFM1E-RwfFXA-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B3B06832C06 for ; Tue, 27 Feb 2024 12:17:03 +0000 (UTC) Received: from nuthatch.brq.redhat.com (unknown [10.43.17.39]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3FE151803; Tue, 27 Feb 2024 12:17:03 +0000 (UTC) From: Milan Zamazal To: libcamera-devel@lists.libcamera.org Subject: [PATCH 1/2] utils: checkstyle.py: Don't presume python3 location Date: Tue, 27 Feb 2024 13:14:46 +0100 Message-ID: <20240227121448.656200-2-mzamazal@redhat.com> In-Reply-To: <20240227121448.656200-1-mzamazal@redhat.com> References: <20240227121448.656200-1-mzamazal@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com 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" python3 binary may be present in a location other than /usr/bin/. Signed-off-by: Milan Zamazal Reviewed-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- 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. #