Skip to content
Snippets Groups Projects
Commit 8c8fad9e authored by Jeff King's avatar Jeff King Committed by Junio C Hamano
Browse files

t5562: fix perl path


Some systems do not have perl installed to /usr/bin. Use the variable
from the build settiings, and call perl directly than via shebang.

Signed-off-by: default avatarMax Kirillov <max@max630.net>
Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
parent 806b1687
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -31,6 +31,7 @@ test_http_env() {
PATH_TRANSLATED="$PWD/.git/git-$handler_type-pack" \
GIT_HTTP_EXPORT_ALL=TRUE \
REQUEST_METHOD=POST \
"$PERL_PATH" \
"$TEST_DIRECTORY"/t5562/invoke-with-content-length.pl \
"$request_body" git http-backend >act.out 2>act.err
}
Loading
Loading
#!/usr/bin/perl
use 5.008;
use strict;
use warnings;
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment