]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
scripts/faddr2line: Use /usr/bin/env bash for portability
authorPankaj Raghav <p.raghav@samsung.com>
Sun, 21 Sep 2025 10:03:57 +0000 (12:03 +0200)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Tue, 14 Oct 2025 21:45:20 +0000 (14:45 -0700)
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@samsung.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
scripts/faddr2line

index 1f364fbb0cd84d270e1ff5ea92c6c44ec4680275..7746d4ad0bfa0e9b1c5a6105c7717688c4b2475e 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # SPDX-License-Identifier: GPL-2.0
 #
 # Translate stack dump function offsets.