From: Kay Sievers Date: Sun, 7 Aug 2005 18:17:09 +0000 (+0200) Subject: v063 X-Git-Tag: v1.4.0~1^2~112 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b51103f3cd4f1a08f5c26f5f6cd835dd2e6ead13;p=git.git v063 --- diff --git a/gitweb.cgi b/gitweb.cgi index 045384d53..4b891fd82 100755 --- a/gitweb.cgi +++ b/gitweb.cgi @@ -14,14 +14,16 @@ use CGI::Carp qw(fatalsToBrowser); my $cgi = new CGI; -my $version = "062"; -my $projectroot = "/home/kay/public_html/pub/scm"; +my $version = "063"; +my $projectroot = "/pub/scm"; my $defaultprojects = "linux/kernel/git"; -my $gitbin = "/home/kay/bin/git"; -my $gittmp = "/tmp"; +my $gitbin = "/usr/bin"; +my $gittmp = "/tmp/gitweb"; +my $giturl = "/pub/software/scm/cogito"; my $my_url = $cgi->url(); my $my_uri = $cgi->url(-absolute => 1); +mkdir($gittmp, 0700); my $project = $cgi->param('p'); my $action = $cgi->param('a'); my $hash = $cgi->param('h'); @@ -113,7 +115,7 @@ sub git_header_html { EOF print "
\n" . - "" . + "" . "\"git\""; if ($defaultprojects ne "") { print $cgi->a({-href => "$my_uri"}, "projects") . " / ";