]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
scripts/decode_stacktrace.sh: nix-ify
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 17 Aug 2024 21:50:25 +0000 (17:50 -0400)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 2 Sep 2024 03:43:38 +0000 (20:43 -0700)
nix only puts /usr/bin/env at the standard location (as required by
posix), so shebangs have to be tweaked.

Link: https://lkml.kernel.org/r/20240817215025.161628-1-kent.overstreet@linux.dev
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Cc: Bjorn Andersson <quic_bjorande@quicinc.com>
Cc: Elliot Berman <quic_eberman@quicinc.com>
Cc: Xiong Nandi <xndchn@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/decode_stacktrace.sh

index a0f50a5b4f7c41ceab4026788d51e40e9bf9c9b8..ed9f914334cc32ff4d483e18d78bcad3359198cd 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # SPDX-License-Identifier: GPL-2.0
 # (c) 2014, Sasha Levin <sasha.levin@oracle.com>
 #set -x