From: Junio C Hamano Date: Sun, 17 Jun 2012 07:15:13 GMT Subject: Re: [PATCH] t: Replace 'perl' by $PERL_PATH Message-ID: <7vipeq76ke.fsf@alter.siamese.dyndns.org> In-Reply-To: <4FDD7AE6.6000000@web.de> Torsten Bögershausen 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 hexdump PERL_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.