Re: [PATCH] t: Replace 'perl' by $PERL_PATH

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH] t: Replace 'perl' by $PERL_PATH

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:54:07

Torsten Bögershausen [off-list ref] 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.

Re: [PATCH] t: Replace 'perl' by $PERL_PATH

From: Torsten Bögershausen <hidden>
Date: 2016-06-15 22:54:07

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
Thanks, that works for me.
Do you squeeze some like that onto pu?
@@ -493,6 +493,7 @@ GIT_ATTR_NOSYSTEM=1
 export PATH GIT_EXEC_PATH GIT_TEMPLATE_DIR GIT_CONFIG_NOSYSTEM GIT_ATTR_NOSYSTEM
 
 . "$GIT_BUILD_DIR"/GIT-BUILD-OPTIONS
+export PERL_PATH
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help