Re: [PATCH] config.mak.uname: set PERL_PATH for FreeBSD 5.0+
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 20, 2016, 18:10 UTC
- Message-ID
- <CAPc5daXuZZuhaTW-hb6FOo6p+gzvrd-rx-FDvo4VzCOH+HpSJg@mail.gmail.com>
- In-Reply-To
- <20160720180702.GA13404@starla>
On Wed, Jul 20, 2016 at 11:07 AM, Eric Wong <e@80x24.org> wrote:
Show 5 quoted lines
> 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')