From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Darrington Subject: Not patching shebang in git hook samples ? Date: Sun, 22 Jan 2017 14:01:24 +0100 Message-ID: <20170122130124.GA25096@jocasta.intra> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2fHTh5uZTiUOsy+g" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51565) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVHlz-000362-RH for guix-devel@gnu.org; Sun, 22 Jan 2017 08:01:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVHlv-00065k-On for guix-devel@gnu.org; Sun, 22 Jan 2017 08:01:31 -0500 Received: from de.cellform.com ([88.217.224.109]:56425 helo=jocasta.intra) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cVHlv-00064Z-HQ for guix-devel@gnu.org; Sun, 22 Jan 2017 08:01:27 -0500 Received: from jocasta.intra (localhost [127.0.0.1]) by jocasta.intra (8.14.4/8.14.4/Debian-8+deb8u1) with ESMTP id v0MD1Oaw025181 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sun, 22 Jan 2017 14:01:24 +0100 Received: (from john@localhost) by jocasta.intra (8.14.4/8.14.4/Submit) id v0MD1Oqa025180 for guix-devel@gnu.org; Sun, 22 Jan 2017 14:01:24 +0100 Content-Disposition: inline List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --2fHTh5uZTiUOsy+g Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable The git package ships with a number of sample hook files. These are shell = scripts and therefore the #!/bin/sh line gets substituted at build time. However these files get installed into every git repostory that is created,= and users are invited to use them as templates for their own hooks. This will be fine until both git and bash are updated. Now the original ba= sh is free to be garbage collected. If that happens, the path:=20 #!/gnu/store/qkw4zrwfybxww8f56nkb6hggxambk89b-bash-4.4.0/bin/sh will no longer exist. I suggest what we turn off the shebang patching for the files in share/temp= lates for git. J' --=20 Avoid eavesdropping. Send strong encrypted email. PGP Public key ID: 1024D/2DE827B3=20 fingerprint =3D 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key. --2fHTh5uZTiUOsy+g Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAliErSQACgkQimdxnC3oJ7Ny2QCcDKeeOOXZHROjgrHZFPWbWmbJ hQ8An2Yhqe6EK3Jz5jueUQRGZzdleGPy =mMIy -----END PGP SIGNATURE----- --2fHTh5uZTiUOsy+g--