Am 09.05.2009, 18:55 Uhr, schrieb Junio C Hamano [off-list ref]:
"Matthias Andree" [off-list ref] writes:
quoted
quoted
Fine then. Or you could just append "." to the $PATH ;-)
"." in the super user's PATH? Cool stuff, and so innovative.
I didn't mean to suggest PATH=$PATH:. *in the user's environment* ;-).
You do that inside GIT-VERSION-FILE, which is essentially the same thing
as running ./git$X from there.
What's innovative is whoever is running build as root.
Back to the real problem, and that is re-checking GIT-VERSION-FILE as part
of "make install". I wonder if we should just have GIT-VERSION-GEN exit if
git isn't in $PATH, and at most copy version there -- rather than stomp
the DEF_VER somewhere.
--
Matthias Andree