Junio C Hamano wrote: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 was under the impression that "#!/usr/bin/env perl" was the "right" way to invoke perl. But I'm not doing this because I want to do the "right" thing. I'm doing this because it makes this scenario work: $ sudo port install git-core installing openssl... installing openssh... installing curl... installing expat... $ ... $ git-send-email ... $ ... $ sudo port install git-svn installing apr... installing subversion... installing perl... installing p5-svn-simple... git-core works fine with stock perl, and we don't want to install extra megabytes of unneeded stuff if it really isn't needed. Certainly there are other ways of making this work. But they're all uglier than doing the "right" thing of "/usr/bin/env perl". cheers, Bryan P.S. On Linux, "#!/usr/bin/env perl -w" doesn't work. On OS X it works fine. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Thomas Gleixner | Re: Linux 2.6.21-rc1 |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| James Bottomley | [Ksummit-2008-discuss] Fixing the Kernel Janitors project |
| James Morris | Re: LSM conversion to static interface |
git: | |
| Natalie Protasevich | [BUG] New Kernel Bugs |
| Christoph Hellwig | Re: [PATCH 06/32] IGET: Mark iget() and read_inode() as being obsolete [try #2] |
| Linus Torvalds | Re: [GIT]: Networking |
| Jarek Poplawski | [PATCH take 2] pkt_sched: Protect gen estimators under est_lock. |
