projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
567f9c4
)
scripts/faddr2line: Use /usr/bin/env bash for portability
author
Pankaj Raghav
<p.raghav@samsung.com>
Sun, 21 Sep 2025 10:03:57 +0000
(12:03 +0200)
committer
Josh 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
patch
|
blob
|
history
diff --git
a/scripts/faddr2line
b/scripts/faddr2line
index
1f364fb
..
7746d4a
100755
(executable)
--- 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.