version 1.31, 1999/06/01 15:23:51 |
version 1.34, 1999/09/08 13:04:09 |
|
|
# 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.30 1999/04/17 16:57:56 wosch Exp $ |
# $FreeBSD: www/en/cgi/cvsweb.cgi,v 1.33 1999/09/06 07:02:40 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; |