aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2012-05-01 22:18:18 +0200
committerJunio C Hamano <gitster@pobox.com>2012-05-01 13:32:17 -0700
commit0754e089c1ffc6a40574eee0564ef98b3acacc26 (patch)
tree72432d9dfa701eff96ae2a651da6e5e039d6a023
parentf71db097efa1cdd304bfa2dd6d365592c1866543 (diff)
downloadgit-0754e089c1ffc6a40574eee0564ef98b3acacc26.tar.gz
git-0754e089c1ffc6a40574eee0564ef98b3acacc26.tar.xz
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>
-rwxr-xr-xgit-relink.perl2
-rwxr-xr-xgit-svn.perl2
2 files changed, 2 insertions, 2 deletions
diff --git a/git-relink.perl b/git-relink.perl
index e136732ce..f29285c41 100755
--- a/git-relink.perl
+++ b/git-relink.perl
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!/usr/bin/perl
# Copyright 2005, Ryan Anderson <ryan@michonline.com>
# Distribution permitted under the GPL v2, as distributed
# by the Free Software Foundation.
diff --git a/git-svn.perl b/git-svn.perl
index 89f83fd27..40a823876 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!/usr/bin/perl
# Copyright (C) 2006, Eric Wong <normalperson@yhbt.net>
# License: GPL v2 or later
use 5.008;