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: Max Kirillov <max@max630.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jeff King committed Nov 23, 2018 at 01:38 UTC 8c8fad9e4b4e82325508974d3aa9ebc90e79a035
2 files changed +1 -1
t/t5562-http-backend-content-length.sh
+1
@@ -31,6 +31,7 @@ test_http_env() {
31 PATH_TRANSLATED="$PWD/.git/git-$handler_type-pack" \
32 GIT_HTTP_EXPORT_ALL=TRUE \
33 REQUEST_METHOD=POST \
34 + "$PERL_PATH" \
35 "$TEST_DIRECTORY"/t5562/invoke-with-content-length.pl \
36 "$request_body" git http-backend >act.out 2>act.err
37 }
t/t5562/invoke-with-content-length.pl
-1
@@ -1,4 +1,3 @@
1 -#!/usr/bin/perl
1 use 5.008;
2 use strict;
3 use warnings;