(address . bug-guix@gnu.org)(name . John Darrington)(address . jmd@gnu.org)
----- Forwarded message from John Darrington <john@darrington.wattle.id.au> -----
Date: Sun, 22 Jan 2017 14:01:24 +0100
From: John Darrington <john@darrington.wattle.id.au>
To: guix-devel@gnu.org
Subject: Not patching shebang in git hook samples ?
User-Agent: Mutt/1.5.23 (2014-03-12)
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 bash is free
to be garbage collected. If that happens, the path:
#!/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/templates for git.
J'
--
Avoid eavesdropping. Send strong encrypted email.
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.netor any PGP keyserver for public key.
----- End forwarded message -----
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAliFP3kACgkQJkb6MLrK
fwg9Jg/9HE3EmpVTW6Uq5oYTegpmoq1VkXZ6OBFGkeBx4Xjv6bJwwpxWwKxcuxTY
jmw/JuvjHCW2TCcLEUNHv5a1xMRZ69dUWzppB9JNWO63h+Qku6rA97CH21fyPpNh
j5gGkV9WQnDi1BXOOggXQ0wYbkOTfa0WzCabdxcvf0CeoZRSYflq6kLothZ4pUF9
XED6xCnNxYjPYGlzjdc9LXYpFuqOOLJrX60xL5I0cibfjbpcK41/pk55YKI0LESp
xNzqKmrS4x2xSJFeQHAsnrLsgModpZPP0+6nMI0NhePs+3d5T3Jaa9imfmNDwy4M
DC6gRy8X9kVg4YU/ljklA5kKDMp/bGP2DHc3KsvgzEu9RjxgeGMRImZnFBqbWFAJ
k3FuOm8VymlkKsOP793ah4QDi4GL4JFrIzxwBF9OY8/yNkiqQHk0R+OCK4xjScBU
WOBCdOLsdkAUgAhQbX/yL4Cklc2YU6+6qY0WwFke/eJP2vn1lOtABQoxxnZzOOhw
hgPMMY4LIldu9xpNyu4zQ6F8s/rmi+n1Vtxr2q+ZKf4rKD6V/z1+Qp+HlDQ7YGXl
/01PwkXKNqKeyz6VogLXwfLJkGbPjhQvnI/9aQA0I3uVMyz5elvYT+qXt09+aZJn
x5JQ2NLMCki4zOYf0dkeDbfAr5lfBlUowEt5tjfgUkmvmwXNBmA=
=/fnN
-----END PGP SIGNATURE-----