From: Matthias Andree Date: Thu, 07 May 2009 08:40:27 GMT Subject: Re: [PATCH] To make GIT-VERSION-FILE, search for git more widely Message-ID: In-Reply-To: <7vws8te2ht.fsf@alter.siamese.dyndns.org> Am 07.05.2009, 10:33 Uhr, schrieb Junio C Hamano : > Matthias Andree writes: > >> Problem: when git is installed into /usr/local/bin, running 'sudo make >> install' won't find git in $PATH (because sudo strips PATH, for instance >> on openSUSE 11.1, and doesn't include /usr/local/whatever). > > That sounds like a bug/misfeature in sudo (which I do not use) to me. Some points: 1. sudo is the default sysadmin setup on Ubuntu (more so than on openSUSE) 2. sudo strips the environment by default for security reasons 3. why would we want to use an old git version (rather than an up to date one) to extract the data? -- Matthias Andree