perl: Don't hardcode interpreter path

This is particularly useful on operating systems that don't ship
Perl as part of the base system (eg. FreeBSD) while still working
just as well as it did before on Linux.

In one case (src/rpc/genprotocol.pl) the interpreter path was
missing altogether.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
Andrea Bolognani
2017-09-18 14:35:50 +02:00
parent 8406769642
commit 90b17aef1a
19 changed files with 20 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
my %noninlined;
my %mocked;