git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* contrib/diff-highlight: stop hard-coding perl location
@ 2016-02-22  5:54 Peter Dave Hello
  2016-02-22  5:56 ` Eric Sunshine
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Dave Hello @ 2016-02-22  5:54 UTC (permalink / raw)
  To: Git List; +Cc: Eric Sunshine

From: Peter Dave Hello <hsu@peterdavehello.org>

Use `#!/usr/bin/env perl` instead of `#!/usr/bin/perl`,
the util "env" can help located the "perl",
so that it can work on FreeBSD and other platforms.

Signed-off-by: Peter Dave Hello <hsu@peterdavehello.org>
---
 contrib/diff-highlight/diff-highlight | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/diff-highlight/diff-highlight
b/contrib/diff-highlight/diff-highlight
index ffefc31..b57b0fd 100755
--- a/contrib/diff-highlight/diff-highlight
+++ b/contrib/diff-highlight/diff-highlight
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl

 use 5.008;
 use warnings FATAL => 'all';

--

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-02-22  7:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-22  5:54 contrib/diff-highlight: stop hard-coding perl location Peter Dave Hello
2016-02-22  5:56 ` Eric Sunshine
2016-02-22  6:49   ` Peter Dave Hello
2016-02-22  7:13     ` Eric Sunshine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).