Re: [PATCH] t: Replace 'perl' by $PERL_PATH
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 17, 2012, 07:15 UTC
- Message-ID
- <7vipeq76ke.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <4FDD7AE6.6000000@web.de>
Torsten Bögershausen <tboegi@web.de> writes:
> When I try to debug it, the $PERL_PATH seems to be empty:
Ahh, given that it does this:
cat >hexdump <<'EOF'
#!/bin/sh
perl -e '$/ = undef; $_ = <>; s/./ord($&)/ge; print $_' < "$1"
EOF
chmod +x hexdumpPERL_PATH should be exported from test-lib.sh; we dot-source GIT-BUILD-OPTIONS to get its value, but it is not propagated to the subprocess like this hexdump script.