From: Charles Bailey Date: Wed, 19 Dec 2007 11:36:17 GMT Subject: Re: [PATCH] Fix git-instaweb breakage on MacOS X due to the limited sed functionality Message-ID: <20071219113617.GA26520@hashpling.org> In-Reply-To: <23306E3C-24F1-4626-A956-02531644B786@wincent.com> On Wed, Dec 19, 2007 at 12:28:04PM +0100, Wincent Colaiuta wrote: > > I think it's a bad idea to hard-code the perl path there; the > generated scripts only assume /usr/bin/perl if the user hasn't > overridden it at build time: > > PERL_PATH=/foo/perl make ... > > Using just this should work fine anyway: > > perl -p -e ... > I agree completely, but all the generated scripts output hard coded paths so it would seem inconsistent not to qualify the path in this case too. Would @@PERL_PATH@@perl -p -e work, do you know? Charles.