[<prev] [next>] [day] [month] [year] [list]
Message-ID: <176060840284.709179.969176817234991592.tip-bot2@tip-bot2>
Date: Thu, 16 Oct 2025 09:53:22 -0000
From: "tip-bot2 for Pankaj Raghav" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Pankaj Raghav <p.raghav@...sung.com>, Josh Poimboeuf <jpoimboe@...nel.org>,
x86@...nel.org, linux-kernel@...r.kernel.org
Subject:
[tip: objtool/core] scripts/faddr2line: Use /usr/bin/env bash for portability
The following commit has been merged into the objtool/core branch of tip:
Commit-ID: 6b4679fcbfdf6f27f8455f9c7050ab6c46c6c5e0
Gitweb: https://git.kernel.org/tip/6b4679fcbfdf6f27f8455f9c7050ab6c46c6c5e0
Author: Pankaj Raghav <p.raghav@...sung.com>
AuthorDate: Sun, 21 Sep 2025 12:03:57 +02:00
Committer: Josh Poimboeuf <jpoimboe@...nel.org>
CommitterDate: Tue, 14 Oct 2025 14:45:20 -07:00
scripts/faddr2line: Use /usr/bin/env bash for portability
The shebang `#!/bin/bash` assumes a fixed path for the bash interpreter.
This path does not exist on some systems, such as NixOS, causing the
script to fail.
Replace `/bin/bash` with the more portable `#!/usr/bin/env bash`.
Signed-off-by: Pankaj Raghav <p.raghav@...sung.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@...nel.org>
---
scripts/faddr2line | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/faddr2line b/scripts/faddr2line
index 1f364fb..7746d4a 100755
--- a/scripts/faddr2line
+++ b/scripts/faddr2line
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-2.0
#
# Translate stack dump function offsets.
Powered by blists - more mailing lists