notmuch-mutt: use env to locate perl for increased portability
authorStefano Zacchiroli <zack@upsilon.cc>
Thu, 21 Apr 2016 18:10:25 +0000 (14:10 -0400)
committerDavid Bremner <david@tethera.net>
Sat, 30 Apr 2016 10:34:00 +0000 (07:34 -0300)
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

index b47b36514a7d97a0a2c0a592b1c6155ef1599739..97fb2d85160cb9a495de68c31103671beeae3fc0 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
 #
 # notmuch-mutt - notmuch (of a) helper for Mutt
 #