]> git.proxmox.com Git - mirror_qemu.git/commit - scripts/get_maintainer.pl
scripts: Switch to more portable Perl shebang
authorKamil Rytarowski <n54@gmx.com>
Wed, 26 Apr 2017 13:16:04 +0000 (15:16 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 10 May 2017 07:19:24 +0000 (10:19 +0300)
commitb7d5a9c2c672f6088bfa209c1338badbc51de3f3
tree845217e61c99a978989d68ddff476568de399503
parent6f75023ab89708101dabc8f710bd0ed501311c8a
scripts: Switch to more portable Perl shebang

The default NetBSD package manager is pkgsrc and it installs Perl
along other third party programs under custom and configurable prefix.
The default prefix for binary prebuilt packages is /usr/pkg, and the
Perl executable lands in /usr/pkg/bin/perl.

This change switches "/usr/bin/perl" to "/usr/bin/env perl" as it's
the most portable solution that should work for almost everybody.
Perl's executable is detected automatically.

This change switches -w option passed to the executable with more
modern "use warnings;" approach. There is no functional change to the
default behavior.

Signed-off-by: Kamil Rytarowski <n54@gmx.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
scripts/checkpatch.pl
scripts/clean-header-guards.pl
scripts/cleanup-trace-events.pl
scripts/disas-objdump.pl
scripts/get_maintainer.pl
scripts/shaderinclude.pl
scripts/switch-timer-api
scripts/texi2pod.pl