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

[PATCH] t9501: Use PERL_PATH instead of perl

From
Torsten Bögershausen <tboegi@web.de>
Date
Apr 25, 2013, 18:49 UTC
Message-ID
<201304252049.09038.tboegi@web.de>

The prerequisite checker for DATE_PARSER should use "$PERL_PATH" instead of perl

Signed-off-by: Torsten Bögershausen <tboegi@web.de>
---
 t/t9501-gitweb-standalone-http-status.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/t9501-gitweb-standalone-http-status.sh b/t/t9501-gitweb-standalone-http-status.sh
index d3a5bac..98c870e 100755
--- a/t/t9501-gitweb-standalone-http-status.sh
+++ b/t/t9501-gitweb-standalone-http-status.sh
@@ -16,8 +16,8 @@ code and message.'
 # Gitweb only provides the functionality tested by the 'modification times'
 # tests if it can access a date parser from one of these modules:
 #
-perl -MHTTP::Date -e 0 >/dev/null 2>&1 && test_set_prereq DATE_PARSER
-perl -MTime::ParseDate -e 0 >/dev/null 2>&1 && test_set_prereq DATE_PARSER
+"$PERL_PATH" -MHTTP::Date -e 0 >/dev/null 2>&1 && test_set_prereq DATE_PARSER
+"$PERL_PATH" -MTime::ParseDate -e 0 >/dev/null 2>&1 && test_set_prereq DATE_PARSER
 
 # ----------------------------------------------------------------------
 # snapshot settings
-- 
1.8.2.1.614.g66d7af5
Message 1 of 1 in “t9501: Use PERL_PATH instead of perl”
  1. t9501: Use PERL_PATH instead of perlTorsten Bögershausen, Apr 25, 2013

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.