Git development
 help / color / mirror / Atom feed
From: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
To: Konstantin Khomoutov <flatworm@users.sourceforge.net>
Cc: James French <James.French@naturalmotion.com>,
	"git\@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: running git from non-standard location on Mac
Date: Thu, 21 Feb 2013 11:53:11 +0100	[thread overview]
Message-ID: <vpq8v6ix7jc.fsf@grenoble-inp.fr> (raw)
In-Reply-To: <20130221143525.726f06827351376b59a02f4b@domain007.com> (Konstantin Khomoutov's message of "Thu, 21 Feb 2013 14:35:25 +0400")

Konstantin Khomoutov <flatworm@users.sourceforge.net> writes:

> This [1] should help you get started with affecting @INC.

In the particular case of Git, the Makefile hardcodes the path to the
Git library. The script git-svn in Git's exec-path should start with:

use lib (split(/:/, $ENV{GITPERLLIB} || "/some/hardcoded/path/to/perl/5.10.1"));

Setting the $GITPERLLIB environment variable or editing the script to
let the hardcoded path point to the place where the Git.pm file is
should do it.


But I still have to wonder why you didn't build Git with the right paths
in the first place.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/

  reply	other threads:[~2013-02-21 10:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-21  9:48 running git from non-standard location on Mac James French
2013-02-21 10:35 ` Konstantin Khomoutov
2013-02-21 10:53   ` Matthieu Moy [this message]
2013-02-21 11:48   ` James French

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vpq8v6ix7jc.fsf@grenoble-inp.fr \
    --to=matthieu.moy@grenoble-inp.fr \
    --cc=James.French@naturalmotion.com \
    --cc=flatworm@users.sourceforge.net \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox