diff options
| author | Pankaj Raghav <p.raghav@samsung.com> | 2025-09-21 12:03:57 +0200 |
|---|---|---|
| committer | Josh Poimboeuf <jpoimboe@kernel.org> | 2025-10-14 14:45:20 -0700 |
| commit | 6b4679fcbfdf6f27f8455f9c7050ab6c46c6c5e0 (patch) | |
| tree | ef5cd4aec00bddc15b4d3d006ee7f7e9736adacb /scripts | |
| parent | 567f9c428f99560fe14e647def9f42f5344ebde9 (diff) | |
| download | random-6b4679fcbfdf6f27f8455f9c7050ab6c46c6c5e0.tar.gz | |
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@samsung.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/faddr2line | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/faddr2line b/scripts/faddr2line index 1f364fbb0cd84d..7746d4ad0bfa0e 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. |
