From: Petr Baudis Date: Sun, 06 Nov 2005 08:28:30 GMT Subject: Re: git binary directory? 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 told me that... > Junio C Hamano 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-) 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 1 and 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.