Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tweewide: Fix most Shebang lines

Change every shebang which does not need an argument to use /usr/bin/env.
This is needed as not every distro has everything under /usr/bin,
sometimes not even bash.

Signed-off-by: Finn Behrens <me@kloenk.de>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

authored by

Finn Behrens and committed by
Masahiro Yamada
c25ce589 0477e928

+26 -26
+1 -1
Documentation/sphinx/parse-headers.pl
··· 1 - #!/usr/bin/perl 1 + #!/usr/bin/env perl 2 2 use strict; 3 3 use Text::Tabs; 4 4 use Getopt::Long;
+1 -1
Documentation/target/tcm_mod_builder.py
··· 1 - #!/usr/bin/python 1 + #!/usr/bin/env python 2 2 # The TCM v4 multi-protocol fabric module generation script for drivers/target/$NEW_MOD 3 3 # 4 4 # Copyright (c) 2010 Rising Tide Systems
+1 -1
Documentation/trace/postprocess/decode_msr.py
··· 1 - #!/usr/bin/python 1 + #!/usr/bin/env python 2 2 # add symbolic names to read_msr / write_msr in trace 3 3 # decode_msr msr-index.h < trace 4 4 import sys
+1 -1
Documentation/trace/postprocess/trace-pagealloc-postprocess.pl
··· 1 - #!/usr/bin/perl 1 + #!/usr/bin/env perl 2 2 # This is a POC (proof of concept or piece of crap, take your pick) for reading the 3 3 # text representation of trace output related to page allocation. It makes an attempt 4 4 # to extract some high-level information on what is going on. The accuracy of the parser
+1 -1
Documentation/trace/postprocess/trace-vmscan-postprocess.pl
··· 1 - #!/usr/bin/perl 1 + #!/usr/bin/env perl 2 2 # This is a POC for reading the text representation of trace output related to 3 3 # page reclaim. It makes an attempt to extract some high-level information on 4 4 # what is going on. The accuracy of the parser may vary
+1 -1
arch/ia64/scripts/unwcheck.py
··· 1 - #!/usr/bin/python 1 + #!/usr/bin/env python 2 2 # SPDX-License-Identifier: GPL-2.0 3 3 # 4 4 # Usage: unwcheck.py FILE
+1 -1
scripts/bloat-o-meter
··· 1 - #!/usr/bin/python 1 + #!/usr/bin/env python 2 2 # 3 3 # Copyright 2004 Matt Mackall <mpm@selenic.com> 4 4 #
+1 -1
scripts/config
··· 1 - #!/bin/bash 1 + #!/usr/bin/env bash 2 2 # SPDX-License-Identifier: GPL-2.0 3 3 # Manipulate options in a .config file from the command line 4 4
+1 -1
scripts/diffconfig
··· 1 - #!/usr/bin/python 1 + #!/usr/bin/env python 2 2 # SPDX-License-Identifier: GPL-2.0 3 3 # 4 4 # diffconfig - a tool to compare .config files.
+1 -1
scripts/get_abi.pl
··· 1 - #!/usr/bin/perl 1 + #!/usr/bin/env perl 2 2 # SPDX-License-Identifier: GPL-2.0 3 3 4 4 use strict;
+1 -1
scripts/show_delta
··· 1 - #!/usr/bin/python 1 + #!/usr/bin/env python 2 2 # SPDX-License-Identifier: GPL-2.0-only 3 3 # 4 4 # show_deltas: Read list of printk messages instrumented with
+1 -1
scripts/sphinx-pre-install
··· 1 - #!/usr/bin/perl 1 + #!/usr/bin/env perl 2 2 # SPDX-License-Identifier: GPL-2.0-or-later 3 3 use strict; 4 4
+1 -1
scripts/split-man.pl
··· 1 - #!/usr/bin/perl 1 + #!/usr/bin/env perl 2 2 # SPDX-License-Identifier: GPL-2.0 3 3 # 4 4 # Author: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
+1 -1
scripts/tracing/draw_functrace.py
··· 1 - #!/usr/bin/python 1 + #!/usr/bin/env python 2 2 # SPDX-License-Identifier: GPL-2.0-only 3 3 4 4 """
+1 -1
tools/perf/python/tracepoint.py
··· 1 - #! /usr/bin/python 1 + #! /usr/bin/env python 2 2 # SPDX-License-Identifier: GPL-2.0 3 3 # -*- python -*- 4 4 # -*- coding: utf-8 -*-
+1 -1
tools/perf/python/twatch.py
··· 1 - #! /usr/bin/python 1 + #! /usr/bin/env python 2 2 # SPDX-License-Identifier: GPL-2.0-only 3 3 # -*- python -*- 4 4 # -*- coding: utf-8 -*-
+1 -1
tools/power/x86/intel_pstate_tracer/intel_pstate_tracer.py
··· 1 - #!/usr/bin/python 1 + #!/usr/bin/env python 2 2 # SPDX-License-Identifier: GPL-2.0-only 3 3 # -*- coding: utf-8 -*- 4 4 #
+1 -1
tools/testing/ktest/compare-ktest-sample.pl
··· 1 - #!/usr/bin/perl 1 + #!/usr/bin/env perl 2 2 # SPDX-License-Identifier: GPL-2.0 3 3 4 4 open (IN,"ktest.pl");
+1 -1
tools/testing/kunit/kunit.py
··· 1 - #!/usr/bin/python3 1 + #!/usr/bin/env python3 2 2 # SPDX-License-Identifier: GPL-2.0 3 3 # 4 4 # A thin wrapper on top of the KUnit Kernel
+1 -1
tools/testing/kunit/kunit_tool_test.py
··· 1 - #!/usr/bin/python3 1 + #!/usr/bin/env python3 2 2 # SPDX-License-Identifier: GPL-2.0 3 3 # 4 4 # A collection of tests for tools/testing/kunit/kunit.py
+1 -1
tools/testing/selftests/bpf/test_offload.py
··· 1 - #!/usr/bin/python3 1 + #!/usr/bin/env python3 2 2 3 3 # Copyright (C) 2017 Netronome Systems, Inc. 4 4 # Copyright (c) 2019 Mellanox Technologies. All rights reserved
+1 -1
tools/testing/selftests/drivers/net/mlxsw/sharedbuffer_configuration.py
··· 1 - #!/usr/bin/python 1 + #!/usr/bin/env python 2 2 # SPDX-License-Identifier: GPL-2.0 3 3 4 4 import subprocess
+1 -1
tools/testing/selftests/kselftest/prefix.pl
··· 1 - #!/usr/bin/perl 1 + #!/usr/bin/env perl 2 2 # SPDX-License-Identifier: GPL-2.0 3 3 # Prefix all lines with "# ", unbuffered. Command being piped in may need 4 4 # to have unbuffering forced with "stdbuf -i0 -o0 -e0 $cmd".
+1 -1
tools/testing/selftests/tc-testing/tdc_batch.py
··· 1 - #!/usr/bin/python3 1 + #!/usr/bin/env python3 2 2 3 3 """ 4 4 tdc_batch.py - a script to generate TC batch file
+1 -1
tools/testing/selftests/tc-testing/tdc_multibatch.py
··· 1 - #!/usr/bin/python3 1 + #!/usr/bin/env python3 2 2 # SPDX-License-Identifier: GPL-2.0 3 3 """ 4 4 tdc_multibatch.py - a thin wrapper over tdc_batch.py to generate multiple batch