Re: [PATCH] Try 2: Allow PERL_PATH="/usr/bin/env perl"
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 4, 2007, 00:43 UTC
- Message-ID
- <7vy7k5xvt4.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <463A71D7.5060506@larsen.st>
Bryan Larsen <bryan@larsen.st> writes:
> Maybe PERL_PATH should be renamed PERL_SHEBANG or something. Because > if you pass in something that doesn't work on a shebang line (longer > than 32 characters, say), it just won't work.
I think I see what problem you are trying to solve better now. Probably more relevant example on MacOS would be whitespace in the pathname.
I think using the bare $(PERL_PATH) in perl/Makefile is a reasonable solution.
Are they any other issues on MacOS? For example, gitweb.cgi is built by replacing the shebang with $(PERL_PATH); I presume that you already are successfully working around the whitespace in the pathname with your "env perl" on MacOS?