1 Return-Path: <tomi.ollila@iki.fi>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 5A712431FAF
\r
6 for <notmuch@notmuchmail.org>; Thu, 12 Apr 2012 00:00:20 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id vuoISbZNr4Ze for <notmuch@notmuchmail.org>;
\r
16 Thu, 12 Apr 2012 00:00:19 -0700 (PDT)
\r
17 Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 907C0431FAE
\r
19 for <notmuch@notmuchmail.org>; Thu, 12 Apr 2012 00:00:19 -0700 (PDT)
\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)
\r
21 id B34C068055; Thu, 12 Apr 2012 10:00:14 +0300 (EEST)
\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
23 To: Taylor Carpenter <taylor@codecafe.com>, notmuch@notmuchmail.org
\r
24 Subject: Re: [PATCH] notmuch-mutt: Using /usr/bin/env to call perl
\r
25 In-Reply-To: <20120412002609.GA26981@codecafe.com>
\r
26 References: <20120412002609.GA26981@codecafe.com>User-Agent:
\r
27 Notmuch/0.12+77~gee11800 (http://notmuchmail.org) Emacs/23.3.1
\r
28 (x86_64-unknown-linux-gnu)
\r
29 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL
\r
30 $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F
\r
31 !)g;OY^,BjTbr)Np:%c_o'jj,Z
\r
32 Date: Thu, 12 Apr 2012 10:00:14 +0300
\r
33 Message-ID: <m2ty0pjuyp.fsf@guru.guru-group.fi>
\r
35 Content-Type: text/plain; charset=us-ascii
\r
36 X-BeenThere: notmuch@notmuchmail.org
\r
37 X-Mailman-Version: 2.1.13
\r
39 List-Id: "Use and development of the notmuch mail system."
\r
40 <notmuch.notmuchmail.org>
\r
41 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
42 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
44 List-Post: <mailto:notmuch@notmuchmail.org>
\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
46 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
47 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
48 X-List-Received-Date: Thu, 12 Apr 2012 07:00:20 -0000
\r
50 On Thu, Apr 12 2012, Taylor Carpenter <taylor@codecafe.com> wrote:
\r
52 > Supports other perl install locations
\r
54 > contrib/notmuch-mutt/notmuch-mutt | 2 +-
\r
55 > 1 files changed, 1 insertions(+), 1 deletions(-)
\r
57 > diff --git a/contrib/notmuch-mutt/notmuch-mutt b/contrib/notmuch-mutt/notmuch-mutt
\r
58 > index 71206c3..424f9a3 100755
\r
59 > --- a/contrib/notmuch-mutt/notmuch-mutt
\r
60 > +++ b/contrib/notmuch-mutt/notmuch-mutt
\r
62 > -#!/usr/bin/perl -w
\r
63 > +#!/usr/bin/env perl -w
\r
65 > # notmuch-mutt - notmuch (of a) helper for Mutt
\r
68 shebang lines supports only one arg to the command
\r
69 -- multiple may confuse things. I tried following:
\r
71 $ echo '#!/usr/bin/env perl -w' > foo.pl
\r
74 /usr/bin/env: perl -w: No such file or directory
\r
75 zsh: exit 127 ./foo.pl
\r
77 I.e. drop the -w from command line. use warnings;
\r
78 (which is already in the code) is enough in this case.
\r