threads / discuss / 24482

Secondary --exec-path?

Subject: Secondary --exec-path?

## tl;dr

2 messages between Jul 23, 2010 and Jul 23, 2010.

replies: 1people: 2as markdown or json

Joel C. Salomon· Jul 23, 2010, 12:56 UTC · lore

I just downloaded git-subtree, and the installation instructions have me copying the executable file to `git --exec-path`, i.e., to /usr/lib/git-core.

I'm looking through the documentation for a possible second location for these scripts, perhaps somewhere in /usr/local, or in /home/me -- is there such a path? I'd rather not step on my distro's toes if I can help it.

--Joel Salomon
Tomas Carnecky· Jul 23, 2010, 14:47 UTC · re: Joel C. Salomon · lore

Re: Secondary --exec-path?

On 7/23/10 2:56 PM, Joel C. Salomon wrote:
Show 8 quoted lines
> I just downloaded git-subtree, and the installation instructions have me
> copying the executable file to `git --exec-path`, i.e., to
> /usr/lib/git-core.
> 
> I'm looking through the documentation for a possible second location for
> these scripts, perhaps somewhere in /usr/local, or in /home/me -- is
> there such a path?  I'd rather not step on my distro's toes if I can
> help it.

Put the git-substree script into any path you want (such as $HOME/bin) and then add that to your $PATH. Or simply drop it to /usr/bin.

tom

← back to recent threads