[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: |
Fri, 6 Jan 2017 09:14:39 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
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