qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Sean Bruno <sbruno@freebsd.org>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [scripts] default shell/perl locations
Date: Mon, 9 Jan 2017 09:45:01 +0100	[thread overview]
Message-ID: <d237d59f-e139-3f86-1656-58af0a6039c4@redhat.com> (raw)
In-Reply-To: <97e4fa7a-2a66-e530-84d1-0c11fa11c305@freebsd.org>



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

      reply	other threads:[~2017-01-09  8:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-05 22:41 [Qemu-devel] [scripts] default shell/perl locations Sean Bruno
2017-01-06  8:14 ` Paolo Bonzini
2017-01-06 16:01   ` Sean Bruno
2017-01-09  8:45     ` Paolo Bonzini [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d237d59f-e139-3f86-1656-58af0a6039c4@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=sbruno@freebsd.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).