From: Junio C Hamano Date: Wed, 20 Jul 2016 18:10:40 GMT Subject: Re: [PATCH] config.mak.uname: set PERL_PATH for FreeBSD 5.0+ Message-ID: In-Reply-To: <20160720180702.GA13404@starla> On Wed, Jul 20, 2016 at 11:07 AM, Eric Wong wrote: > Also, my use of a numeric comparison may be more future-proof > in case FreeBSD decides to have /usr/bin/perl again. > > I also wonder why we don't use `which` to search for somewhat > standard path components, instead. Something like: Because historically output from "which" was not meant to be machine parseable (some implementation said 'perl is /usr/bin/perl')