Re: git binary directory?
- From
Petr Baudis <pasky@suse.cz>
- Date
- Nov 6, 2005, 08:28 UTC
- Message-ID
- <20051106082830.GO1431@pasky.or.cz>
- In-Reply-To
- <200511060312.jA63CUcv010887@inti.inf.utfsm.cl>
Dear diary, on Sun, Nov 06, 2005 at 04:12:30AM CET, I got a letter where Horst von Brand <vonbrand@inf.utfsm.cl> told me that...
Show 9 quoted lines
> Junio C Hamano <junkio@cox.net> wrote: > > we need to > > teach some of our commands that use other git commands to > > prepend /usr/lib/git/ (or /usr/libexec/git) > > AFAIU, /usr/libexec/git (or /usr/libexec/git-<version>) would be better. > Including the version would make it possible to have the last stable and a > development version coexisting, like gcc does with -V. Or its -B option, > which tells it where to find the executables that do the real work.
In Cogito, when including the lib programs, I'm doing
. ${COGITO_LIB}cg-Xlib || exit 1and then during installation I do:
sed -e 's/\$${COGITO_LIB}/"\$${COGITO_LIB:-$(libdir)\/}"/g'Then I can override it during execution by exporting $COGITO_LIB.
-- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ VI has two modes: the one in which it beeps and the one in which it doesn't.