From: Julia Lawall <julia.lawall@inria.fr>
To: Jarkko Sakkinen <jarkko@kernel.org>
Cc: Nicolas Palix <nicolas.palix@imag.fr>,
open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] scripts: coccicheck: Use /usr/bin/env
Date: Sat, 25 Feb 2023 20:26:11 +0100 (CET) [thread overview]
Message-ID: <alpine.DEB.2.22.394.2302252025490.3036@hadrien> (raw)
In-Reply-To: <20230126215612.86436-1-jarkko@kernel.org>
On Thu, 26 Jan 2023, Jarkko Sakkinen wrote:
> If bash is not located under /bin, coccicheck fails to run. In the real
> world, this happens for instance when NixOS is used in the host. Instead,
> use /usr/bin/env to locate the executable binary for bash.
>
> Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Applied, thanks.
julia
> ---
> scripts/coccicheck | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/coccicheck b/scripts/coccicheck
> index 2956fce8fa4f..b4d0d6eb3e73 100755
> --- a/scripts/coccicheck
> +++ b/scripts/coccicheck
> @@ -1,4 +1,4 @@
> -#!/bin/bash
> +#!/usr/bin/env bash
> # SPDX-License-Identifier: GPL-2.0
> # Linux kernel coccicheck
> #
> --
> 2.38.1
>
>
prev parent reply other threads:[~2023-02-25 19:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-26 21:56 Jarkko Sakkinen
2023-02-25 19:26 ` Julia Lawall [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.22.394.2302252025490.3036@hadrien \
--to=julia.lawall@inria.fr \
--cc=jarkko@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nicolas.palix@imag.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®