Re: [PATCH] gitweb-lib.sh: Set up PATH to use perl from /usr/bin
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 1, 2012, 16:47 UTC
- Message-ID
- <7vsjfjalx6.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <4FA00E09.2090708@in.waw.pl>
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> writes:
> Hm, I see that most scripts have #!/usr/bin/perl, and only two have > #!env perl [1]. So in general we usally rely on using perl in /usr/bin.
The #!/usr/bin/env variants should be eradicated. Our Makefile rewrites "#!.*perl" with "#!$PERL_PATH" in scripted Porcelains before installing, so /usr/bin/perl is the right thing to write there.