Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp24811pxu; Tue, 1 Dec 2020 05:23:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJw/YqXPvlykA91+S3XaIrq3kSBXfGDWUtSiwqNeFSOepNjxewjO3NM79pMO4pxkaU653hEK X-Received: by 2002:a17:906:e25a:: with SMTP id gq26mr2998137ejb.109.1606828998881; Tue, 01 Dec 2020 05:23:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606828998; cv=none; d=google.com; s=arc-20160816; b=olaaQ5Gtot3u6jXh3YkJoC2xPv65NpyhcIjOnXyaMZebDV/dwfd4xcA3VqgG0IxuiW l90FSTPLQpkWOkIi2pDnmyF0OIVDfvHKtv9c16gi/5cSW/qW+RS7cS/8v1GxwOfJXpRu soq9S6oWQjibvRR6BTdzIlFe33s0EtCD1mQq+JPq40dQUAyAd00rFxW2jQNhjBow65x6 4TxOOQx4xohh3kxqCupj6cID0wuWQ9ovA5MXnGBN++qAVQCvOW7NW/9Ra7z+3sxUO9+n fOLtfNA6fXwgUJ+GLAXuFIgkO47tV4qQ/FCqIjLAD/pE8/VYlsTHCkzggtXyTSy9RjyB fCAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=fITzHpExu91uhcfVWcxzP50E4edwLr25ewFvtJBm5bs=; b=zf4eZOGpEcpg6KVB0kOB3N+MuTLMOjV4b3V38HlXroWm07mELSMjfFxzPIimY5MgIm CqzL7vpa717MUb7Od252npSpnLjeu70TiRcYV4B6ZMsGkMR+HNqiT5m3gb+ktV4HXHzq alFfxrIiMba/d5os7p6JU/4kZ+v58hk7KvEOwjrfCpj8YZ5Z7usTEq0m9yqLOTKD6Sx5 zVXiRUv91beol7IvxaAqZjRLvnec5sTz8OKTEVcMhmlp1qmq9hFq6NYw9kcvHAtYAExW fNC7gOqrfz0iKWAZAnsU9V2XymTb9+BPWOXAIbE9ICy7rFhlAtztkOgqQj4T7BLfdDeG 553A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codewreck.org header.s=2 header.b=eQMgz0nD; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codewreck.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w9si926377ejj.45.2020.12.01.05.22.56; Tue, 01 Dec 2020 05:23:18 -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=pass header.i=@codewreck.org header.s=2 header.b=eQMgz0nD; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codewreck.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728630AbgLANS1 (ORCPT + 99 others); Tue, 1 Dec 2020 08:18:27 -0500 Received: from nautica.notk.org ([91.121.71.147]:33758 "EHLO nautica.notk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725977AbgLANS1 (ORCPT ); Tue, 1 Dec 2020 08:18:27 -0500 Received: by nautica.notk.org (Postfix, from userid 1001) id 4F544C009; Tue, 1 Dec 2020 14:17:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codewreck.org; s=2; t=1606828665; bh=fITzHpExu91uhcfVWcxzP50E4edwLr25ewFvtJBm5bs=; h=From:To:Cc:Subject:Date:From; b=eQMgz0nD+YSPrNTzOhZUBln+D3DKkxBAgKAjxVxQwHLxnzzX+D2Un8qnzCf9bnZIr L6g1ri4KLrRQ5UF1Uuu+aJscTINWWSpNVGHyn+GpXv2g9VtJkLzZwKN1e78e4Mj7lI 8JR9vqdJGB7dPnG4oz+3tAoCUkCwoRzqqmwPMf8h1OZcWYwCKwEPGIgai1hxgDgoy0 0V1FqT9+9CVKwTg4hTffVjcnezTeb3ZO5pWpiv7Sc8Hgwg1I2y67+Vd0a3vHMU1oel 8Qij1U/0dUcjvYhZLWdcYy+tgFt1mm1EupzLyrA1/YyPFYMCo4fKRtWOH2W+mwh/qJ T3MkEAz6XpJbw== From: Dominique Martinet To: Masahiro Yamada , Michal Marek Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Dominique Martinet Subject: [PATCH 1/2] ld-version: use /usr/bin/env awk for shebank Date: Tue, 1 Dec 2020 14:17:29 +0100 Message-Id: <1606828650-29841-1-git-send-email-asmadeus@codewreck.org> X-Mailer: git-send-email 1.7.10.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org /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 --- 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 # SPDX-License-Identifier: GPL-2.0 # extract linker version number from stdin and turn into single number { -- 2.28.0