Re: [libvirt] [ocaml PATCH 3/3] Fix shebang in perl scripts

2019-08-20 Thread Richard W.M. Jones
On Tue, Aug 20, 2019 at 03:44:56PM +0200, Pino Toscano wrote: > Instead of hardcoding the location of perl (assuming it is installed in > /usr), use /usr/bin/env to run it, and thus picking it from $PATH. > This makes it possible to run these scripts also on installations with > perl in a different

[libvirt] [ocaml PATCH 3/3] Fix shebang in perl scripts

2019-08-20 Thread Pino Toscano
Instead of hardcoding the location of perl (assuming it is installed in /usr), use /usr/bin/env to run it, and thus picking it from $PATH. This makes it possible to run these scripts also on installations with perl in a different prefix than /usr. Also, given that we want enable warnings on script