# Secondary --exec-path?

2 messages from 2010-07-23 to 2010-07-23. Participants: Joel C. Salomon, Tomas Carnecky.
Thread: https://gitlist.dev/t/24482

## Joel C. Salomon, 2010-07-23 12:56

Subject: Secondary --exec-path?
Message-ID: <i2c3hn$odi$1@dough.gmane.org>
URL: https://gitlist.dev/e/i2c3hn%24odi%241%40dough.gmane.org

```
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, 2010-07-23 14:47

Subject: Re: Secondary --exec-path?
Message-ID: <4C49AB9B.6060206@dbservice.com>
URL: https://gitlist.dev/e/4C49AB9B.6060206%40dbservice.com
In-Reply-To: <i2c3hn$odi$1@dough.gmane.org>

```
On 7/23/10 2:56 PM, Joel C. Salomon wrote:
> 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

```
