mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 23:30:10 +01:00
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: Rob Clark <robclark@freedesktop.org> Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
parent
80dc78407d
commit
e340d7beef
1 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#!/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';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue