Skip to content

Commit 6ae514b

Browse files
kloenkgregkh
authored andcommitted
tweewide: Fix most Shebang lines
commit c25ce58 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent ccecbcc commit 6ae514b

26 files changed

Lines changed: 26 additions & 26 deletions

‎Documentation/sphinx/parse-headers.pl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22
use strict;
33
use Text::Tabs;
44
use Getopt::Long;

‎Documentation/target/tcm_mod_builder.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python
1+
#!/usr/bin/env python
22
# The TCM v4 multi-protocol fabric module generation script for drivers/target/$NEW_MOD
33
#
44
# Copyright (c) 2010 Rising Tide Systems

‎Documentation/trace/postprocess/decode_msr.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python
1+
#!/usr/bin/env python
22
# add symbolic names to read_msr / write_msr in trace
33
# decode_msr msr-index.h < trace
44
import sys

‎Documentation/trace/postprocess/trace-pagealloc-postprocess.pl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22
# This is a POC (proof of concept or piece of crap, take your pick) for reading the
33
# text representation of trace output related to page allocation. It makes an attempt
44
# to extract some high-level information on what is going on. The accuracy of the parser

‎Documentation/trace/postprocess/trace-vmscan-postprocess.pl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22
# This is a POC for reading the text representation of trace output related to
33
# page reclaim. It makes an attempt to extract some high-level information on
44
# what is going on. The accuracy of the parser may vary

‎arch/ia64/scripts/unwcheck.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python
1+
#!/usr/bin/env python
22
# SPDX-License-Identifier: GPL-2.0
33
#
44
# Usage: unwcheck.py FILE

‎scripts/bloat-o-meter‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python
1+
#!/usr/bin/env python
22
#
33
# Copyright 2004 Matt Mackall <mpm@selenic.com>
44
#

‎scripts/config‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# SPDX-License-Identifier: GPL-2.0
33
# Manipulate options in a .config file from the command line
44

‎scripts/diffconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python
1+
#!/usr/bin/env python
22
# SPDX-License-Identifier: GPL-2.0
33
#
44
# diffconfig - a tool to compare .config files.

‎scripts/get_abi.pl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22
# SPDX-License-Identifier: GPL-2.0
33

44
use strict;

0 commit comments

Comments
 (0)