mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
tweewide: Fix most Shebang lines
commit c25ce589dca10d64dde139ae093abc258a32869c 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> [nicolas@fjasle.eu: update contexts for v4.14, adapt for old scripts] Signed-off-by: Nicolas Schier <nicolas@fjasle.eu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2fdd1a8221
commit
5ea96edf5d
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl
|
#!/usr/bin/env perl
|
||||||
use strict;
|
use strict;
|
||||||
use Text::Tabs;
|
use Text::Tabs;
|
||||||
use Getopt::Long;
|
use Getopt::Long;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
# The TCM v4 multi-protocol fabric module generation script for drivers/target/$NEW_MOD
|
# The TCM v4 multi-protocol fabric module generation script for drivers/target/$NEW_MOD
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 Rising Tide Systems
|
# Copyright (c) 2010 Rising Tide Systems
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
# add symbolic names to read_msr / write_msr in trace
|
# add symbolic names to read_msr / write_msr in trace
|
||||||
# decode_msr msr-index.h < trace
|
# decode_msr msr-index.h < trace
|
||||||
import sys
|
import sys
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl
|
#!/usr/bin/env perl
|
||||||
# This is a POC (proof of concept or piece of crap, take your pick) for reading the
|
# This is a POC (proof of concept or piece of crap, take your pick) for reading the
|
||||||
# text representation of trace output related to page allocation. It makes an attempt
|
# text representation of trace output related to page allocation. It makes an attempt
|
||||||
# to extract some high-level information on what is going on. The accuracy of the parser
|
# to extract some high-level information on what is going on. The accuracy of the parser
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl
|
#!/usr/bin/env perl
|
||||||
# This is a POC for reading the text representation of trace output related to
|
# This is a POC for reading the text representation of trace output related to
|
||||||
# page reclaim. It makes an attempt to extract some high-level information on
|
# page reclaim. It makes an attempt to extract some high-level information on
|
||||||
# what is going on. The accuracy of the parser may vary
|
# what is going on. The accuracy of the parser may vary
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
#
|
#
|
||||||
# Usage: unwcheck.py FILE
|
# Usage: unwcheck.py FILE
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
#
|
#
|
||||||
# Copyright 2004 Matt Mackall <mpm@selenic.com>
|
# Copyright 2004 Matt Mackall <mpm@selenic.com>
|
||||||
#
|
#
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
# Manipulate options in a .config file from the command line
|
# Manipulate options in a .config file from the command line
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
#
|
#
|
||||||
# diffconfig - a tool to compare .config files.
|
# diffconfig - a tool to compare .config files.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
#
|
#
|
||||||
# show_deltas: Read list of printk messages instrumented with
|
# show_deltas: Read list of printk messages instrumented with
|
||||||
# time data, and format with time deltas.
|
# time data, and format with time deltas.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl
|
#!/usr/bin/env perl
|
||||||
use strict;
|
use strict;
|
||||||
|
|
||||||
# Copyright (c) 2017 Mauro Carvalho Chehab <mchehab@kernel.org>
|
# Copyright (c) 2017 Mauro Carvalho Chehab <mchehab@kernel.org>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Copyright 2008 (c) Frederic Weisbecker <fweisbec@gmail.com>
|
Copyright 2008 (c) Frederic Weisbecker <fweisbec@gmail.com>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
#
|
#
|
||||||
# top-like utility for displaying kvm statistics
|
# top-like utility for displaying kvm statistics
|
||||||
#
|
#
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#! /usr/bin/env python
|
||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
# -*- python -*-
|
# -*- python -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#! /usr/bin/env python
|
||||||
# -*- python -*-
|
# -*- python -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# twatch - Experimental use of the perf python interface
|
# twatch - Experimental use of the perf python interface
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python2
|
#!/usr/bin/env python2
|
||||||
# call-graph-from-sql.py: create call-graph from sql database
|
# call-graph-from-sql.py: create call-graph from sql database
|
||||||
# Copyright (c) 2014-2017, Intel Corporation.
|
# Copyright (c) 2014-2017, Intel Corporation.
|
||||||
#
|
#
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
#
|
#
|
||||||
# Cpu task migration overview toy
|
# Cpu task migration overview toy
|
||||||
#
|
#
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/python
|
#! /usr/bin/env python
|
||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python2
|
#!/usr/bin/env python2
|
||||||
|
|
||||||
from os import getenv
|
from os import getenv
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
#
|
#
|
||||||
# Tool for analyzing boot timing
|
# Tool for analyzing boot timing
|
||||||
# Copyright (c) 2013, Intel Corporation.
|
# Copyright (c) 2013, Intel Corporation.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
#
|
#
|
||||||
# Tool for analyzing suspend/resume timing
|
# Tool for analyzing suspend/resume timing
|
||||||
# Copyright (c) 2013, Intel Corporation.
|
# Copyright (c) 2013, Intel Corporation.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
""" This utility can be used to debug and tune the performance of the
|
""" This utility can be used to debug and tune the performance of the
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl
|
#!/usr/bin/env perl
|
||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
|
||||||
open (IN,"ktest.pl");
|
open (IN,"ktest.pl");
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
"""
|
"""
|
||||||
tdc_batch.py - a script to generate TC batch file
|
tdc_batch.py - a script to generate TC batch file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user