On Thu, Apr 21, 2016 at 06:41:38PM +0100, Andreas Tolfsen wrote:
> The patch is straight forward.  You may want to just make the change
> yourself than jumping through the hoops of applying this.

Thanks Andreas for the suggestion; makes sense to me.

I just clarified in the commit message that, even if -w is dropped,
there is still use warnings in the script. New patch attached.

David: can you please push this to master?

Cheers.
-- 
Stefano Zacchiroli  . . . . . . .  [email protected] . . . . o . . . o . o
Maître de conférences . . . . . http://upsilon.cc/zack . . . o . . . o o
Former Debian Project Leader . . . . . @zacchiro . . . . o o o . . . o .
« the first rule of tautology club is the first rule of tautology club »
>From 3e27c59e6ab02fa652b35ce3a23e4d324ed69b6d Mon Sep 17 00:00:00 2001
From: Stefano Zacchiroli <[email protected]>
Date: Thu, 21 Apr 2016 14:04:23 -0400
Subject: [PATCH] notmuch-mutt: use env to locate perl for increased
 portability

Note: this patch drops -w from the shebang line, but we still have
"use warnings" in the script, which is superior anyhow.

Thanks Andreas Tolfsen for the suggestion.
---
 contrib/notmuch-mutt/notmuch-mutt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/notmuch-mutt/notmuch-mutt b/contrib/notmuch-mutt/notmuch-mutt
index b47b365..97fb2d8 100755
--- a/contrib/notmuch-mutt/notmuch-mutt
+++ b/contrib/notmuch-mutt/notmuch-mutt
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
 #
 # notmuch-mutt - notmuch (of a) helper for Mutt
 #
-- 
2.8.0.rc3

_______________________________________________
notmuch mailing list
[email protected]
https://notmuchmail.org/mailman/listinfo/notmuch

Reply via email to