diff options
author | Yegor Timoshenko <yegortimoshenko@riseup.net> | 2018-10-07 01:58:27 +0000 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-11-17 07:32:03 +0000 |
commit | c2e494136731571a78b2bdd7ca9dc536a8b5aecd (patch) | |
tree | a31bde7ce2d3ce4a96445200491b12c4e40a14f0 /util/scripts/get_maintainer.pl | |
parent | 15316e2321e9936da5f0906ec76545830938a46e (diff) | |
download | coreboot-c2e494136731571a78b2bdd7ca9dc536a8b5aecd.tar.xz |
treewide: use /usr/bin/env where appropriate
Some Unix systems (GuixSD, NixOS) do not install programs like
Bash and Python to /usr/bin, and /usr/bin/env has to be used to
locate these instead.
Change-Id: I7546bcb881c532adc984577ecb0ee2ec4f2efe00
Signed-off-by: Yegor Timoshenko <yegortimoshenko@riseup.net>
Reviewed-on: https://review.coreboot.org/28953
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/scripts/get_maintainer.pl')
-rwxr-xr-x | util/scripts/get_maintainer.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/scripts/get_maintainer.pl b/util/scripts/get_maintainer.pl index 4f34a4e6fb..c24a6d4d69 100755 --- a/util/scripts/get_maintainer.pl +++ b/util/scripts/get_maintainer.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl # (c) 2007, Joe Perches <joe@perches.com> # created from checkpatch.pl # @@ -11,6 +11,7 @@ # Licensed under the terms of the GNU GPL License version 2 use strict; +use warnings; my $P = $0; my $V = '0.26'; |