diff options
author | Finn Behrens <me@kloenk.de> | 2020-11-23 15:15:33 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-22 10:59:50 +0200 |
commit | 36f4aaa9dc1ce9cd8075b5df09ee8c8a7eb826a5 (patch) | |
tree | c23d7d2f5261aa2d4b31658bed5839938fd7cf28 /scripts | |
parent | 9e43d5e4f8a30bff5a6d08848dd362d60f8775d7 (diff) | |
download | linux-stable-36f4aaa9dc1ce9cd8075b5df09ee8c8a7eb826a5.tar.gz linux-stable-36f4aaa9dc1ce9cd8075b5df09ee8c8a7eb826a5.tar.bz2 linux-stable-36f4aaa9dc1ce9cd8075b5df09ee8c8a7eb826a5.zip |
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/bloat-o-meter | 2 | ||||
-rwxr-xr-x | scripts/config | 2 | ||||
-rwxr-xr-x | scripts/diffconfig | 2 | ||||
-rwxr-xr-x | scripts/split-man.pl | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/scripts/bloat-o-meter b/scripts/bloat-o-meter index a923f05edb36..d2eadbd4521c 100755 --- a/scripts/bloat-o-meter +++ b/scripts/bloat-o-meter @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # # Copyright 2004 Matt Mackall <mpm@selenic.com> # diff --git a/scripts/config b/scripts/config index eee5b7f3a092..8c8d7c3d7acc 100755 --- a/scripts/config +++ b/scripts/config @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # SPDX-License-Identifier: GPL-2.0 # Manipulate options in a .config file from the command line diff --git a/scripts/diffconfig b/scripts/diffconfig index 89abf777f197..627eba5849b5 100755 --- a/scripts/diffconfig +++ b/scripts/diffconfig @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # SPDX-License-Identifier: GPL-2.0 # # diffconfig - a tool to compare .config files. diff --git a/scripts/split-man.pl b/scripts/split-man.pl index c3db607ee9ec..96bd99dc977a 100755 --- a/scripts/split-man.pl +++ b/scripts/split-man.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # SPDX-License-Identifier: GPL-2.0 # # Author: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> |