On May 10, 2008, at 11:44 PM, Junio C Hamano wrote:
Actually, this approach has the same problem that's worked around
here: <http://repo.or.cz/w/git.git?a=blob;f=git-
instaweb.sh;hb=HEAD#l46>. (You might have lighttpd installed but not
be on your $PATH, which the script should handle for you).
It seems the best approach would be to function-ize the aforementioned
httpd-path-checking logic [that currently uses "which"] and use it for
(a) detecting if lighttpd is installed and (b) looking for apache2
binaries named httpd.
I think for now these particular patches will continue to use "type"
as you somewhat suggested earlier today. :)
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html