cvswww-extract.cgi
Script to extract webpages onto webserver
Created by tdb1 20/10/2000
- Last modified 25/11/2000
+ Last modified 06/05/2001
-->
<html>
<td valign="top">
EOF
-print `/usr/local/bin/wget -O - -q $left`;
+print `/usr/local/bin/wget -O - -q $left 2>&1`;
print << "EOF";
<td valign="top">
EOF
-print `/usr/local/bin/wget -O - -q $title`;
+print `/usr/local/bin/wget -O - -q $title 2>&1`;
print "<pre>\n";
if($site eq "raptor" && -e "/usr/local/proj/co600_10" && -d "/usr/local/proj/co600_10"){
print "<b>Debugging output from run on Raptor:</b>\n";
-print `/usr/local/proj/co600_10/scripts/cvswww-extract-cmd`;
+print `/usr/local/proj/co600_10/scripts/cvswww-extract-cmd 2>&1`;
print "\n<b>Debugging output from cleanup:</b>\n";
-print `/usr/local/proj/co600_10/scripts/cvswww-clean`;
+print `/usr/local/proj/co600_10/scripts/cvswww-clean 2>&1`;
}
elsif($site eq "main" && -e "/home/sites/www.i-scream.org.uk" && -d "/home/sites/www.i-scream.org.uk"){
print "<b>Debugging output from extract:</b>\n";
-print `cd /home/sites/www.i-scream.org.uk/web && gunzip cvswww-extract.tar.gz && tar -xvf cvswww-extract.tar && rm -f cvswww-extract.tar`;
+print `cd /home/sites/www.i-scream.org.uk/web && gunzip cvswww-extract.tar.gz && tar -xvf cvswww-extract.tar && rm -f cvswww-extract.tar 2>&1`;
}
else{
print "</pre>\n";
-print `/usr/local/bin/wget -O - -q $bottom`;
+print `/usr/local/bin/wget -O - -q $bottom 2>&1`;
print << "EOF";