summaryrefslogtreecommitdiff
path: root/scripts/cleanpatch
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-07-07 15:09:09 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2017-07-07 15:09:09 -0700
commit16ffc4c39415e62c1d027d1bc59ee28e267d59f2 (patch)
tree6b341d1856c8b39b1de8af230f73d138db647848 /scripts/cleanpatch
parent58f051fc9828709e6c55803510761413d92c4e57 (diff)
parent9e6e0d5f2a2713402cf9dce69b9f9b516e4185d2 (diff)
Merge tag 'kbuild-misc-v4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
Pull misc Kbuild updates from Masahiro Yamada: - Use more portable shebang for Perl scripts - Remove trailing spaces from GCC version in kernel log - Make initramfs generation deterministic * tag 'kbuild-misc-v4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: kbuild: create deterministic initramfs directory listings scripts/mkcompile_h: Remove trailing spaces from compiler version scripts: Switch to more portable Perl shebang
Diffstat (limited to 'scripts/cleanpatch')
-rwxr-xr-xscripts/cleanpatch3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/cleanpatch b/scripts/cleanpatch
index 9680d03ad2b8..3e5a2303dc0e 100755
--- a/scripts/cleanpatch
+++ b/scripts/cleanpatch
@@ -1,9 +1,10 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
#
# Clean a patch file -- or directory of patch files -- of stealth whitespace.
# WARNING: this can be a highly destructive operation. Use with caution.
#
+use warnings;
use bytes;
use File::Basename;