Re: [Patch] Using 'perl' in *.sh
- From
- Yakov Lerner <iler.ml@gmail.com>
- Date
- Jul 9, 2006, 10:09 UTC
- Message-ID
- <f36b08ee0607090309l3cc05b19t44781bbe26013a0b@mail.gmail.com>
- In-Reply-To
- <20060709094630.GB5919@steel.home>
On 7/9/06, Alex Riesen <fork0@t-online.de> wrote:
Show 15 quoted lines
> Junio C Hamano, Sat, Jul 08, 2006 20:27:37 +0200:
> > >
> > > some GIT's shell script are using bare 'perl' for perl invocation. It's
> > > causing me problems... I compile git with PERL_PATH set and I'd suggest to
> > > use it everywhere.
> > >
> > > So @@PERL@@ would be replaced with PERL_PATH_SQ instead.
> > >
> > > What do you think?
> >
> > Absolutely.
>
> Now imagine a non-posix system where an upgrade was made. Amongst
> other things perl was moved, i.e. from /opt/perl-5.8.8 to
> /usr/local/{bin,lib}. Suddenly git breaks.Building new perl for sources never removed, by itself, older perls on the system. Did it ever for you ? How would installing new perl into new location break git ? It would only break if you *remove* old perl, not if you install new perl into new location, no ?
Yakov