Re: [PATCH] add strcpy_user_path() and use it in init-db.c and git.c
- From
- Eric Wong <normalperson@yhbt.net>
- Date
- Dec 24, 2005, 19:50 UTC
- Message-ID
- <20051224195033.GE3963@mail.yhbt.net>
- In-Reply-To
- <7virtes6zd.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> wrote:
Show 11 quoted lines
> Eric Wong <normalperson@yhbt.net> writes: > > > Hint: build git with: make 'prefix=~' > > Sorry, I do not see why you would want to do this. I understand > "make prefix=~" or "make prefix=$HOME", but "make prefix='~'" > and expanding tilde and friends at runtime you need to justify > why it helps in which situation. > > We are not DOS and do not do argument expansion shell should > have done for us ourselves.
My home directories have different names on different machines I'm on, and I want to avoid having to recompile git for each one. I don't have root access to some of them, so installing globally in /usr or /usr/local isn't an option, either.
-- Eric Wong