Thread (13 messages) flat view 13 messages, 6 authors, 2021-05-25

Re: [Bug] git-credential-netrc.perl is not built and is not available in `exec-path`

From: Jeff King <hidden>
Date: 2021-05-21 10:07:17

On Thu, May 20, 2021 at 02:21:25PM +0430, Siavash wrote:
If I'm not mistaken, it's because it sets the `SCRIPT_PERL` environment variable here:
https://github.com/git/git/blob/88dd4282d949cdafff516650c1be8aaf4d67983f/contrib/credential/netrc/Makefile#L13

But the Git Makefile un-sets environment variables here:
https://github.com/git/git/blob/88dd4282d949cdafff516650c1be8aaf4d67983f/Makefile#L587
That part is OK. The netrc build runs "make SCRIPT_PERL=...", which will
override any instances where it is set in the top-level Makefile.

So just doing:

  cd contrib/credential/netrc
  make install

should be enough to make it work.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help