A dash (-) is a valid charcter in port name.
This commit is contained in:
parent
f96b82dd87
commit
b3a8bf87a0
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=3536
1 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@
|
|||
#
|
||||
# url.cgi - make plain text URLs clickable
|
||||
#
|
||||
# $Id: url.cgi,v 1.7 1998-08-02 18:15:32 wosch Exp $
|
||||
# $Id: url.cgi,v 1.8 1998-09-24 16:10:42 wosch Exp $
|
||||
|
||||
|
||||
require LWP::UserAgent;
|
||||
|
@ -52,7 +52,7 @@ if (1) {
|
|||
my($cvsroot) = '/home/ncvs';
|
||||
$file =~ s%(http|ftp)://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/%%;
|
||||
print &short_html_header($file);
|
||||
if ($file =~ m%^ports/\w+/\w+/pkg/DESCR% &&
|
||||
if ($file =~ m%^ports/\w+/[\w-]+/pkg/DESCR% &&
|
||||
-f "$cvsroot/$file,v") {
|
||||
open(CO, "-|") || exec ('/usr/bin/co', '-p', '-q', "$cvsroot/$file,v");
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue