]> i-scream Git - www.i-scream.org.git/blobdiff - cgi-bin/cvslog.cgi
More updates for the new server.
[www.i-scream.org.git] / cgi-bin / cvslog.cgi
index ac30166221e26b2ae2c013352091006bab67a6c9..cb1671dbad1573c9526c0e6b9600387a5434d071 100755 (executable)
@@ -43,11 +43,11 @@ my($cvsroot) = "/cvs/i-scream";
 $modulelist = `ls $cvsroot` unless defined $modulelist;
 $modulelist =~ s/[\r\n]/ /gm;
 
-my($cvs2clpath) = "/home/sites/www.i-scream.org.uk/bin/cvs2cl2.pl";
+my($cvs2clpath) = "/usr/local/bin/cvs2cl";
 #my($cvs2clargs) = "--stdout --no-wrap -r -b -t -w -S -U $cvsroot/CVSROOT/users -l \"-d'$firstdate'\" -g \"-d$cvsroot\" -g \"-Q\"";
 my($cvs2clargs) = "--stdout --no-wrap -r -t -w -S -U $cvsroot/CVSROOT/users -l \"-d'$firstdate'\" -g \"-d$cvsroot\" -g \"-Q\"";
-my($updatecmd) = "/home/sites/www.i-scream.org.uk/bin/fullcvsupdate.sh $modulelist";
-my($logcmd) = "cd /home/sites/www.i-scream.org.uk/cvsscripttemp && $cvs2clpath $cvs2clargs";
+my($updatecmd) = "/home/iscream/bin/fullcvsupdate.sh $modulelist";
+my($logcmd) = "cd /tmp/i-scream/cvstmp && $cvs2clpath $cvs2clargs";
 
 my ($left) = "../htdocs/left.inc" ;
 my ($title) = "../htdocs/title.inc";
@@ -91,7 +91,7 @@ my(@modules) = split (/\s+/, $modulelist);
 foreach my $module (@modules) {
 
     print "<table border=\"0\" bgcolor=\"#000066\" cellpadding=\"5\" width=\"100%\">\n\n";
-    print "<tr><td>\n<font size=\"4\"><b><a href=\"/cgi-bin/cvs/viewcvs.cgi/$module\" style=\"color: white\">$module module</a></b></font>\n</td></tr>\n\n";
+    print "<tr><td>\n<font size=\"4\"><b><a href=\"http://cvs.i-scream.org/$module\" style=\"color: white\">$module module</a></b></font>\n</td></tr>\n\n";
     print "<tr><td bgcolor=\"white\">\n";
 
     my(@lines) = `$logcmd $module 2>&1`;
@@ -121,7 +121,7 @@ foreach my $module (@modules) {
                 #chop $line;
                 my ($file, $rest, $ext) = ($1, $2, $3);
                 print "<code>";
-                print "<a href=\"/cgi-bin/cvs/viewcvs.cgi/$file\" style=\"text-decoration: none;\">";
+                print "<a href=\"http://cvs.i-scream.org/$file\" style=\"text-decoration: none;\">";
                 print HTML_encode($file);
                 print "</a> ";
                 if($rest =~ /\((\S+)\.(\d+)(.*)\)/) {
@@ -130,7 +130,7 @@ foreach my $module (@modules) {
                     my $oldrev = "$1.$oldminver";
                     if($2 != 1) {
                         my $diff = ".diff?r1=$oldrev&r2=$newrev";
-                        print "(<a href=\"/cgi-bin/cvs/viewcvs.cgi/$file$diff\" style=\"text-decoration: none;\">";
+                        print "(<a href=\"http://cvs.i-scream.org/$file$diff\" style=\"text-decoration: none;\">";
                         print HTML_encode("$1.$2");
                         print "</a>";
                         print HTML_encode("$3)");