Fix gitweb CGI when in subdirectory

If Gerrit is mounted inside of a subdirectory, we need to include
the context path as part of the SCRIPT_NAME environment variable
when we run the gitweb.cgi script.  If we don't, gitweb produces
links to /gitweb, which won't work on the site.

Bug: issue 495
Change-Id: I3f806c360c3d6b517e8aeea65b0387875ba12621
Signed-off-by: Shawn O. Pearce <sop@google.com>
1 file changed