Skip to contentSkip to conversation

t9501: Use PERL_PATH instead of perl

PATCH New Torsten Bögershausen 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 t9501: Use PERL_PATH instead of perl

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

---
 t/t9501-gitweb-standalone-http-status.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
t/t9501-gitweb-standalone-http-status.sh +2 -2
index d3a5bac..98c870e 100755
@@ -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
Signature · 1 line
1.8.2.1.614.g66d7af5