]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - scripts/checkpatch.pl
scripts: Switch to more portable Perl shebang
[mirror_ubuntu-bionic-kernel.git] / scripts / checkpatch.pl
index 4b9569fa931b90200a2c809598fe3765b157fbb7..3465a7c5a154899dce70459fd9eee56132e6808a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
 # (c) 2001, Dave Jones. (the file handling bit)
 # (c) 2005, Joel Schopp <jschopp@austin.ibm.com> (the ugly bit)
 # (c) 2007,2008, Andy Whitcroft <apw@uk.ibm.com> (new conditions, test suite)
@@ -6,6 +6,7 @@
 # Licensed under the terms of the GNU GPL License version 2
 
 use strict;
+use warnings;
 use POSIX;
 use File::Basename;
 use Cwd 'abs_path';