summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2ae100d)
raw | patch | inline | side by side (parent: 2ae100d)
author | Kay Sievers <kay.sievers@suse.de> | |
Sun, 7 Aug 2005 18:17:09 +0000 (20:17 +0200) | ||
committer | Kay Sievers <kay.sievers@suse.de> | |
Sun, 7 Aug 2005 18:17:09 +0000 (20:17 +0200) |
gitweb.cgi | patch | blob | history |
diff --git a/gitweb.cgi b/gitweb.cgi
index 045384d53b4deed623bff7550211dd7168b033b1..4b891fd827814a812047621a91f64785e19ca67b 100755 (executable)
--- a/gitweb.cgi
+++ b/gitweb.cgi
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');
<body>
EOF
print "<div class=\"page_header\">\n" .
- "<a href=\"http://kernel.org/pub/software/scm/git/\">" .
+ "<a href=\"$giturl\">" .
"<img src=\"$my_uri?a=git-logo.png\" width=\"72\" height=\"27\" alt=\"git\" style=\"float:right; border-width:0px;\"/></a>";
if ($defaultprojects ne "") {
print $cgi->a({-href => "$my_uri"}, "projects") . " / ";