instaweb: fix WEBrick server support
commit422bff280297b55aff6542cc5df1c078f37ab673
authorEric Wong <normalperson@yhbt.net>
Wed, 4 Aug 2010 09:51:25 +0000 (4 09:51 +0000)
committerEric Wong <normalperson@yhbt.net>
Thu, 5 Aug 2010 08:51:26 +0000 (5 08:51 +0000)
treee85de3ec3b96524fcc1ccdc0b30c31493340288e
parent721e76cbfac650ce676fc789b717eb21e1daa46e
instaweb: fix WEBrick server support

This has been broken since commit be5347b ("httpd logs in a
"$httpd_only" subdirectory").

Since WEBrick has no other way of preserving environment
variables needed for gitweb, we create a shell script wrapper
that sets the environment variables as our CGI interpreter
to run gitweb.cgi.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
git-instaweb.sh