[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [scripts] default shell/perl locations
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [scripts] default shell/perl locations |
Date: |
Mon, 9 Jan 2017 09:45:01 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
On 06/01/2017 17:01, Sean Bruno wrote:
>
>
> 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.
>
> that would be far superior, thank you.
>
> This at least lets folks with /usr/local/bin/perl in their path, find
> and run scripts.
Great, then patches are welcome. :)
Paolo