Re: relocating the binaries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Yakov Lerner" <iler.ml@xxxxxxxxx> writes:

> Let's say the git binaries were built with prefix=/usr/local.
> I wanto to copy them (relocate) to other machine under
> $HOME/run. WHich env.var. do I set to tell the git binaries  that
> it's new prefix is $HOME/run ? nb: i'm not talking about rebuild.

See INSTALL.

 - 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
	GITPERLLIB=`pwd`/perl/blib/lib
	export GIT_EXEC_PATH PATH GITPERLLIB

GIT_EXEC_PATH won't be `pwd` but wherever you will take git-*
binaries to; adjust GITPERLLIB too accordingly.


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]