git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Avoid hard-coded perl path in sha-bang

From
Iiblis <iblis@hs.ntnu.edu.tw>
Date
Sep 5, 2016, 15:28 UTC
Message-ID
<ddf84da5-036f-6e4f-839d-cef1f7ede4be@hs.ntnu.edu.tw>
In-Reply-To
<01020156faf163db-3a2e9796-3b12-43d2-90dd-2b843896a5b7-000000@eu-west-1.amazonses.com>
Signed-off-by: Iblis Lin <iblis@hs.ntnu.edu.tw>
---
  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';


--

Iblis Lin
Next: brian m. carlson
Message 1 of 2 in “Avoid hard-coded perl path in sha-bang”
  1. Avoid hard-coded perl path in sha-bangiblis, Sep 5, 2016
  2. brian m. carlsonSep 5, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.