Skip to content

Commit

Permalink
INSTALL: a tip for running after building but without installing.
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Jul 3, 2006
1 parent d3140f5 commit 3c767a0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,19 @@ Issues of note:
has been actively developed since 1997, and people have moved over to
graphical file managers.

- You can use git after building but without installing if you
wanted to. Various git commands need to find other git
commands and scripts to do their work, so you would need to
arrange a few environment variables to tell them that their
friends will be found in your built source area instead of at
their standard installation area. Something like this works
for me:

GIT_EXEC_PATH=`pwd`
PATH=`pwd`:$PATH
PERL5LIB=`pwd`/perl/blib/lib:`pwd`/perl/blib/arch/auto/Git
export GIT_EXEC_PATH PATH PERL5LIB

- Git is reasonably self-sufficient, but does depend on a few external
programs and libraries:

Expand Down

0 comments on commit 3c767a0

Please sign in to comment.