From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.5 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,T_RP_MATCHES_RCVD shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by dcvr.yhbt.net (Postfix) with ESMTP id B664C1F406 for ; Tue, 19 Dec 2017 17:12:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753109AbdLSRM4 (ORCPT ); Tue, 19 Dec 2017 12:12:56 -0500 Received: from cloud.peff.net ([104.130.231.41]:43272 "HELO cloud.peff.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753071AbdLSRMz (ORCPT ); Tue, 19 Dec 2017 12:12:55 -0500 Received: (qmail 16714 invoked by uid 109); 19 Dec 2017 17:12:55 -0000 Received: from Unknown (HELO peff.net) (10.0.1.2) by cloud.peff.net (qpsmtpd/0.94) with SMTP; Tue, 19 Dec 2017 17:12:55 +0000 Authentication-Results: cloud.peff.net; auth=none Received: (qmail 4173 invoked by uid 111); 19 Dec 2017 17:13:20 -0000 Received: from sigill.intra.peff.net (HELO sigill.intra.peff.net) (10.0.0.7) by peff.net (qpsmtpd/0.94) with ESMTPA; Tue, 19 Dec 2017 12:13:20 -0500 Authentication-Results: peff.net; auth=pass (cram-md5) smtp.auth=relayok Received: by sigill.intra.peff.net (sSMTP sendmail emulation); Tue, 19 Dec 2017 12:12:53 -0500 Date: Tue, 19 Dec 2017 12:12:53 -0500 From: Jeff King To: Junio C Hamano Cc: Jakub Zaverka , "git@vger.kernel.org" Subject: Re: difftool uses hardcoded perl shebang Message-ID: <20171219171253.GA7526@sigill.intra.peff.net> References: <20171219162528.GA5804@sigill.intra.peff.net> <20171219164532.GA6745@sigill.intra.peff.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Tue, Dec 19, 2017 at 09:08:44AM -0800, Junio C Hamano wrote: > Jeff King writes: > > > In the meantime, pointing to the actual build-time perl is a workaround > > (but obviously not if it's being done by a third-party packager who has > > no idea where your perl is). > > Is such a binary packaging scheme actually in use that deliberately > leaves it up to the end user where/if a perl is installed and if it > is an appropriately recent version? It sounds rather irresponsible > to me. No, I mean that the user can do: make PERL_PATH=/path/to/perl/in/my/PATH but if they are not building Git themselves, that is not an option for them. And a binary packager cannot help them there, because they do not know that path. -Peff