svn commit: r49825 - head/en_US.ISO8859-1/htdocs/ports

Pietro Cerutti gahr at FreeBSD.org
Tue Jan 10 15:52:40 UTC 2017


Author: gahr (ports committer)
Date: Tue Jan 10 15:52:39 2017
New Revision: 49825
URL: https://svnweb.freebsd.org/changeset/doc/49825

Log:
  Fix double param in Long desc for ports in more than 1 category
  
  PR:		206709
  Submitted by:	linimon
  Reported by:	Dave Evans <dave.evans55 at googlemail.com>
  Approved by:	brd

Modified:
  head/en_US.ISO8859-1/htdocs/ports/portindex

Modified: head/en_US.ISO8859-1/htdocs/ports/portindex
==============================================================================
--- head/en_US.ISO8859-1/htdocs/ports/portindex	Tue Jan 10 12:58:21 2017	(r49824)
+++ head/en_US.ISO8859-1/htdocs/ports/portindex	Tue Jan 10 15:52:39 2017	(r49825)
@@ -191,14 +191,14 @@ sub main {
 
     	$catkey{$name} = $cat[0];
 
+	# figure out the FTP url
+	$loc =~ s%/usr/ports/%$baseSVNWEB%;
+	$ldesc =~ s%/usr/ports/%$baseSVNWEB%;
+	$ldesc .= '?revision=HEAD';
+
 	foreach my $i (sort(@cat)) {
 	    $stats{$i}++;
 
-	    # figure out the FTP url
-	    $loc =~ s%/usr/ports/%$baseSVNWEB%;
-	    $ldesc =~ s%/usr/ports/%$baseSVNWEB%;
-	    $ldesc .= '?revision=HEAD';
-
 	    # The name description and maintainer
 	    $name =~ s/,.*//g;
 	    $name =~ s/\++//g;


More information about the svn-doc-all mailing list