Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] gitweb-lib.sh: Set up PATH to use perl from /usr/bin

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:53:42

Possibly related (same subject, not in this thread)

Torsten Bögershausen [off-list ref] writes:
Thanks for all answers,
quoted
I think the patch we want is just:
diff --git a/t/gitweb-lib.sh b/t/gitweb-lib.sh
index 21d11d6..ae2dc46 100644
--- a/t/gitweb-lib.sh
+++ b/t/gitweb-lib.sh
@@ -69,7 +69,7 @@ gitweb_run () {
 	# written to web server logs, so we are not interested in that:
 	# we are interested only in properly formatted errors/warnings
 	rm -f gitweb.log &&
-	perl -- "$SCRIPT_NAME" \
+	"$PERL_PATH" -- "$SCRIPT_NAME" \
 		>gitweb.output 2>gitweb.log &&
 	perl -w -e '
 		open O, ">gitweb.headers";
no? Torsten, does that fix your problem?
Yes, it does.

Should we go for that solution ?
Sounds good.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help