diff options
author | Bastian Köcher <git@kchr.de> | 2017-03-27 17:21:12 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-05-02 14:33:58 +0200 |
commit | 5378c856779c590e26910639e28b95a22aa2b9f5 (patch) | |
tree | 4826050e4eab006de6996dcd169e02d9de5e219e /scripts/checkpatch.pl | |
parent | 5afe9a054cbcb1630a42200f3ac799432522a87d (diff) | |
download | upstream-5378c856779c590e26910639e28b95a22aa2b9f5.tar.gz upstream-5378c856779c590e26910639e28b95a22aa2b9f5.tar.bz2 upstream-5378c856779c590e26910639e28b95a22aa2b9f5.zip |
build: remove absolute path to perl and replace with /usr/bin/env perl
Signed-off-by: Bastian Köcher <git@kchr.de>
Diffstat (limited to 'scripts/checkpatch.pl')
-rwxr-xr-x | scripts/checkpatch.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index c4b7437b90..05fd772c91 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -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) @@ -7,6 +7,7 @@ # Licensed under the terms of the GNU GPL License version 2 use strict; +use warnings; my $P = $0; $P =~ s@.*/@@g; |