Re: [PATCH] test: change "#!/bin/bash" to "#!/usr/bin/env bash" enhances portability
authorCarl Worth <cworth@cworth.org>
Fri, 27 May 2011 21:04:53 +0000 (14:04 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:38:25 +0000 (09:38 -0800)
e4/f3cee2e75ae56d91cb1e601299e1250b691869 [new file with mode: 0644]

diff --git a/e4/f3cee2e75ae56d91cb1e601299e1250b691869 b/e4/f3cee2e75ae56d91cb1e601299e1250b691869
new file mode 100644 (file)
index 0000000..86ea7fd
--- /dev/null
@@ -0,0 +1,86 @@
+Return-Path: <cworth@cworth.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 1AC69431FD0\r
+       for <notmuch@notmuchmail.org>; Fri, 27 May 2011 14:05:17 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id tH4fjrn3pE2W for <notmuch@notmuchmail.org>;\r
+       Fri, 27 May 2011 14:05:16 -0700 (PDT)\r
+Received: from arlo.cworth.org (arlo.cworth.org [50.43.72.2])\r
+       by olra.theworths.org (Postfix) with ESMTP id 95F40431FB6\r
+       for <notmuch@notmuchmail.org>; Fri, 27 May 2011 14:05:16 -0700 (PDT)\r
+Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
+       by arlo.cworth.org (Postfix) with ESMTP id 41D2B29A513;\r
+       Fri, 27 May 2011 14:05:15 -0700 (PDT)\r
+Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
+       id 313A725417E; Fri, 27 May 2011 14:05:15 -0700 (PDT)\r
+From: Carl Worth <cworth@cworth.org>\r
+To: Joel =?utf-8?Q?Borggr=C3=A9n-Franck?= <joel.borggren.franck@gmail.com>,\r
+       notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] test: change "#!/bin/bash" to "#!/usr/bin/env bash"\r
+       enhances portability\r
+In-Reply-To:\r
+ <1291235272-16335-1-git-send-email-joel.borggren.franck@gmail.com>\r
+References: <1291235272-16335-1-git-send-email-joel.borggren.franck@gmail.com>\r
+User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.3.1\r
+       (i486-pc-linux-gnu)\r
+Date: Fri, 27 May 2011 14:04:53 -0700\r
+Message-ID: <87ipsvc0sq.fsf@yoom.home.cworth.org>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 27 May 2011 21:05:17 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Wed,  1 Dec 2010 21:27:52 +0100, Joel Borggr=C3=A9n-Franck <joel.borggre=\r
+n.franck@gmail.com> wrote:\r
+> From: Joel Borggr=C3=A9n-Franck <jbf@codehouse.se>\r
+>=20\r
+> Change #!/bin/bash at start of tests to "#!/usr/bin/env bash". That way\r
+> systems running on bash < 4 can prepend bash >=3D 4 to path before\r
+> running the tests.\r
+\r
+Thanks for the patch, Joel!\r
+\r
+This issue recently came up again on IRC, so I dug out this patch,\r
+applied, and pushed it.\r
+\r
+=2DCarl\r
+\r
+=2D-=20\r
+carl.d.worth@intel.com\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+\r
+iEYEARECAAYFAk3gEfUACgkQ6JDdNq8qSWgnPACfVRhvVB86oBP8eZaE5oVUnAmt\r
+jCYAoIkPP6uKeoa5dWkr2qgU3Nmbr5W7\r
+=NFQY\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r