Commit e340d7be authored by Alyssa Ross's avatar Alyssa Ross Committed by Eric Engestrom

get_reviewer.pl: improve portability

Not all package managers / users will install perl into /usr/bin,
but /usr/bin/env /should/ always be present.

Using /usr/bin/env means that we can't give the -w argument to Perl,
so I added `use warnings' in the script.
Reviewed-by: 's avatarRob Clark <robclark@freedesktop.org>
Reviewed-by: Eric Engestrom's avatarEric Engestrom <eric.engestrom@intel.com>
parent 80dc7840
#!/usr/bin/perl -w
#!/usr/bin/env perl
# (c) 2007, Joe Perches <joe@perches.com>
# created from checkpatch.pl
#
......@@ -14,6 +14,7 @@
# Licensed under the terms of the GNU GPL License version 2
use strict;
use warnings;
my $P = $0;
my $V = '0.26';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment