Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4187701pxu; Wed, 9 Dec 2020 10:24:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJzEoYKkUSkrFsx+I5TLAP72M3ldPbH7wzejfNRkFAG7G0OElU1SKpTXHx00p8Mxu/yawggT X-Received: by 2002:a50:fb97:: with SMTP id e23mr3301798edq.208.1607538293621; Wed, 09 Dec 2020 10:24:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607538293; cv=none; d=google.com; s=arc-20160816; b=Qf6VY64ANkuMIyI3cO2PWSsLnTOsXwlKofEj/EeJH4RkoKpxQ5ryPaNxgPpQuMBhzy EUn5QrDW1sXGf3Jiy0waaHOAj3oFB1NAnuTJ8LdDv5TiD6S11eIRRoDidWv6I4Dm9FlH trcJkTvnDAq5mZhBNavDgTFj2IHqTPVwX+1aKPW2X/5sTAaq4ELrgOY/+BHNLyVTASER oT5WBk+g/lV0GJWUFVPCDa3RiIwZ+sijfL2MRTkvR/lCUv+9qRYEzhR9w0s9R5isRr5I 9V6Ym/Zg9WlHSiYnItuJv/Zg59HdkwJfcLj4WDXvlNXHNWzGzgHN+k4JJXiTfkNoDAad 2WPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=I8GmfP6hpRJ1e9IcmORUcQZIbZU+pUVsAZcRYdV366o=; b=g8H5NFxAUzNWwx4RUO8XP0o+cHoG5vrA/Er2brJRBVFFuEcBy3lfev7jKtW6b3DIjz VQK0EUXktnmdkjRgFvZFpIjYS5ej6Cq8M0UGwnUpj6sgc+ydyO0uYzMzpOLFHTFIMp3A knhE577mFdeOQ5fJj/Q7xcvuVBXa5ccQMEmptdlJxV4UDcvjIkD9aD9QdCJJqWZoviH5 0bGG9rBUiMD2Zr+4YvJ/lCOjA8PodpXb8ZlQ7FPVEvrgi+I0ax2a/AsW+A7ApBhcVg8P 1GmihZJkru/tsnKA0sReQ/eINqv1cnNNh58wPDIlHDXKpK7ttV6YkqVGzIy3AR5Rkx1R SGDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@roeck-us.net header.s=default header.b=2owOs5sl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i24si1170574eja.372.2020.12.09.10.24.29; Wed, 09 Dec 2020 10:24:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@roeck-us.net header.s=default header.b=2owOs5sl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730088AbgLISWz (ORCPT + 99 others); Wed, 9 Dec 2020 13:22:55 -0500 Received: from gproxy7-pub.mail.unifiedlayer.com ([70.40.196.235]:57934 "EHLO gproxy7-pub.mail.unifiedlayer.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728099AbgLISWz (ORCPT ); Wed, 9 Dec 2020 13:22:55 -0500 Received: from cmgw10.unifiedlayer.com (unknown [10.9.0.10]) by gproxy7.mail.unifiedlayer.com (Postfix) with ESMTP id D709B215D9B for ; Wed, 9 Dec 2020 11:22:09 -0700 (MST) Received: from bh-25.webhostbox.net ([208.91.199.152]) by cmsmtp with ESMTP id n46LkuYFLDlydn46LkgV0h; Wed, 09 Dec 2020 11:22:09 -0700 X-Authority-Reason: nr=8 X-Authority-Analysis: v=2.3 cv=A9VCwZeG c=1 sm=1 tr=0 a=QNED+QcLUkoL9qulTODnwA==:117 a=2cfIYNtKkjgZNaOwnGXpGw==:17 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=kj9zAlcOel0A:10:nop_charset_1 a=zTNgK-yGK50A:10:nop_rcvd_month_year a=evQFzbml-YQA:10:endurance_base64_authed_username_1 a=BaYeErv0AAAA:8 a=hvDuBlm12bxQwZt2C7QA:9 a=CjuIK1q_8ugA:10:nop_charset_2 a=bGQ4bMmlmPoowcvdo74j:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=roeck-us.net; s=default; h=In-Reply-To:Content-Type:MIME-Version:References :Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding :Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=I8GmfP6hpRJ1e9IcmORUcQZIbZU+pUVsAZcRYdV366o=; b=2owOs5slhd2Er91GDytGijQzhG ql02CyIKfBEmDVeDfLbOvmdRxcHGFtfWyH1TjWHq2LyU9kd7VS5GcdPmmSdIPQH1W/b4IkEl54tYr umG1kgsEQsnFfHDf9Fua1FOxWOrW75fAGjujja+diQFjkYs5i7VuaR5O5dJ79NK2Vj6PiE/FxP80O XSIwrzlKGFyiSTA2rYGftSao2d+KGzx2g82Ec/MwAvtIhEGQmXlI5DULDUgtggX1ewwft7QNuagL6 tORV/R3k312LbFUgWOwl8XiPaQc+z1lKyBY7rjwR/WabmLD9NxcpH8f5jwJ2rjIzlokIKqnBHbiCG ChMaxPsg==; Received: from 108-223-40-66.lightspeed.sntcca.sbcglobal.net ([108.223.40.66]:49884 helo=localhost) by bh-25.webhostbox.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1kn46K-003bYP-UD; Wed, 09 Dec 2020 18:22:09 +0000 Date: Wed, 9 Dec 2020 10:22:07 -0800 From: Guenter Roeck To: Dominique Martinet Cc: Masahiro Yamada , Michal Marek , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] ld-version: use /usr/bin/env awk for shebank Message-ID: <20201209182207.GA143260@roeck-us.net> References: <1606828650-29841-1-git-send-email-asmadeus@codewreck.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1606828650-29841-1-git-send-email-asmadeus@codewreck.org> User-Agent: Mutt/1.9.4 (2018-02-28) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-BWhitelist: no X-Source-IP: 108.223.40.66 X-Source-L: No X-Exim-ID: 1kn46K-003bYP-UD X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 108-223-40-66.lightspeed.sntcca.sbcglobal.net (localhost) [108.223.40.66]:49884 X-Source-Auth: guenter@roeck-us.net X-Email-Count: 1 X-Source-Cap: cm9lY2s7YWN0aXZzdG07YmgtMjUud2ViaG9zdGJveC5uZXQ= X-Local-Domain: yes Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 01, 2020 at 02:17:29PM +0100, Dominique Martinet wrote: > /usr/bin/awk is not garanteed to exist (and doesn't on e.g. nixos), > using /usr/bin/env to have it look in PATH is more robust > > Signed-off-by: Dominique Martinet > Signed-off-by: Dominique Martinet > --- > I've been carrying these two patchs for local kernel development on > nixos for a while, I don't think it'd break anything for anyone so > might as well submit these -- please consider it :) > > scripts/ld-version.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/ld-version.sh b/scripts/ld-version.sh > index f2be0ff9a738..05476b8f8925 100755 > --- a/scripts/ld-version.sh > +++ b/scripts/ld-version.sh > @@ -1,4 +1,4 @@ > -#!/usr/bin/awk -f > +#!/usr/bin/env -S awk -f This patch results in: /usr/bin/env: invalid option -- 'S' Try '/usr/bin/env --help' for more information. init/Kconfig:39: syntax error init/Kconfig:38: invalid statement scripts/kconfig/Makefile:80: recipe for target 'defconfig' failed when using: env (GNU coreutils) 8.28 or any other version of "env" which doesn't support "-S". Guenter