version 1.30, 1999/04/17 16:57:56 |
version 1.35, 1999/09/17 18:56:44 |
|
|
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
# SUCH DAMAGE. |
# SUCH DAMAGE. |
# |
# |
# $fId: cvsweb.cgi,v 1.29 1999/01/13 03:59:04 fenner Exp $ |
# $FreeBSD: www/en/cgi/cvsweb.cgi,v 1.34 1999/09/08 13:04:09 peter Exp $ |
# |
# |
|
|
|
|
Line 145 if (!-d $cvsroot) { |
|
Line 145 if (!-d $cvsroot) { |
|
&fatal("500 Internal Error",'$CVSROOT not found!<P>The server on which the CVS tree lives is probably down. Please try again in a few minutes.'); |
&fatal("500 Internal Error",'$CVSROOT not found!<P>The server on which the CVS tree lives is probably down. Please try again in a few minutes.'); |
} |
} |
|
|
|
# Set up for FreeBSD repo options. |
|
$ENV{'RCSLOCALID'} = 'FreeBSD=CVSHeader'; |
|
$ENV{'RCSINCEXC'} = 'iFreeBSD'; |
|
$ENV{'CVSROOT'} = $cvsroot; |
|
|
{ |
{ |
local(@foo, $i); |
local(@foo, $i); |
|
|
$string =~ s/>/>/g; |
$string =~ s/>/>/g; |
|
|
if ($pr) { |
if ($pr) { |
$string =~ s!\b((pr[:#]?\s*#?)|((bin|conf|docs|gnu|i386|kern|misc|ports)\/))(\d+)\b!<A HREF=/cgi/query-pr.cgi?pr=\5>$&</A>!ig; |
$string =~ s!\b((pr[:#]?\s*#?)|((bin|conf|docs|gnu|i386|kern|misc|ports)\/))(\d+)\b!<A HREF=http://www.freebsd.org/cgi/query-pr.cgi?pr=\5>$&</A>!ig; |
} |
} |
|
|
$string; |
$string; |