diff options
author | Andrea Bolognani <abologna@redhat.com> | 2017-09-18 14:35:50 +0200 |
---|---|---|
committer | Andrea Bolognani <abologna@redhat.com> | 2017-09-19 16:04:53 +0200 |
commit | 90b17aef1a43717f8813aa088564950cc06650b8 (patch) | |
tree | d2e166fb2b86cf82e1983160d4ebd8b6ff5225c9 /src/rpc/genprotocol.pl | |
parent | 8406769642abd6bf9558d5585490c7a5485302c1 (diff) | |
download | libvirt-90b17aef1a43717f8813aa088564950cc06650b8.tar.gz |
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>
Diffstat (limited to 'src/rpc/genprotocol.pl')
-rwxr-xr-x | src/rpc/genprotocol.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/genprotocol.pl b/src/rpc/genprotocol.pl index 69d20a3447..6ce268c024 100755 --- a/src/rpc/genprotocol.pl +++ b/src/rpc/genprotocol.pl @@ -1,3 +1,4 @@ +#!/usr/bin/env perl # # Generate code for an XDR protocol, optionally applying # fixups to the glibc rpcgen code so that it compiles |