Commit 6b4679fc authored by Pankaj Raghav's avatar Pankaj Raghav Committed by Josh Poimboeuf
Browse files

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: default avatarPankaj Raghav <p.raghav@samsung.com>
Signed-off-by: default avatarJosh Poimboeuf <jpoimboe@kernel.org>
parent 567f9c42
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
#!/bin/bash
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-2.0
#
# Translate stack dump function offsets.