[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [scripts] default shell/perl locations
From: |
Sean Bruno |
Subject: |
Re: [Qemu-devel] [scripts] default shell/perl locations |
Date: |
Fri, 6 Jan 2017 09:01:23 -0700 |
User-agent: |
Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
On 01/06/17 01:14, Paolo Bonzini wrote:
>
>
> On 05/01/2017 23:41, Sean Bruno wrote:
>> I don't suppose it would be possible to have configure check/change the
>> interpreter path for scripts so that operating systems that don't have
>> /usr/bin/perl for example, would work out of the box?
>
> We can use
>
> #!/bin/sh
> eval 'exec perl -x -wS $0 ${1+"$@"}'
> if 0;
>
> if that works for you.
>
> Paolo
>
>
that would be far superior, thank you.
This at least lets folks with /usr/local/bin/perl in their path, find
and run scripts.
sean
signature.asc
Description: OpenPGP digital signature