Skip to content

Commit 0754e08

Browse files
keszybzgitster
authored andcommitted
Consistently use perl from /usr/bin/ for scripts
While the majority of scripts use '#!/usr/bin/perl', some use '#!/usr/bin/env perl'. In the end there is no difference, because the Makefile rewrites "#!.*perl" with "#!$PERL_PATH" in scripted Porcelains before installing. Nevertheless, the second form can be misleading, because it suggests that perl found first in $PATH will be used. Suggested-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent f71db09 commit 0754e08

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

git-relink.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env perl
1+
#!/usr/bin/perl
22
# Copyright 2005, Ryan Anderson <ryan@michonline.com>
33
# Distribution permitted under the GPL v2, as distributed
44
# by the Free Software Foundation.

git-svn.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env perl
1+
#!/usr/bin/perl
22
# Copyright (C) 2006, Eric Wong <normalperson@yhbt.net>
33
# License: GPL v2 or later
44
use 5.008;

0 commit comments

Comments
 (0)