Re: [Bug] git-credential-netrc.perl is not built and is not available in `exec-path`
- From
Jeff King <peff@peff.net>
- Date
- May 21, 2021, 10:06 UTC
- Message-ID
- <YKeGP6STQMy63tEJ@coredump.intra.peff.net>
- In-Reply-To
- <87k0nt3f8i.fsf@gmail.com>
On Thu, May 20, 2021 at 02:21:25PM +0430, Siavash wrote:
Show 5 quoted lines
> 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