Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2012 13:33:24 +0000 (UTC)
From:      Glen Barber <gjb@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r39855 - head/ru_RU.KOI8-R/htdocs/ports
Message-ID:  <201210301333.q9UDXOhB001064@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gjb
Date: Tue Oct 30 13:33:23 2012
New Revision: 39855
URL: http://svn.freebsd.org/changeset/doc/39855

Log:
  Fix various make(1) targets in UTF-8 locale environment.
  
  Reviewed by:	pluknet

Modified:
  head/ru_RU.KOI8-R/htdocs/ports/Makefile

Modified: head/ru_RU.KOI8-R/htdocs/ports/Makefile
==============================================================================
--- head/ru_RU.KOI8-R/htdocs/ports/Makefile	Tue Oct 30 13:19:05 2012	(r39854)
+++ head/ru_RU.KOI8-R/htdocs/ports/Makefile	Tue Oct 30 13:33:23 2012	(r39855)
@@ -81,7 +81,7 @@ ports.size:
 
 # this builds: categories-alpha.xml, categories-grouped.xml,
 # master-index.xml, statistics.ent, <category>.xml
-CATEGORYLIST=`grep "^[a-z]" categories | sed -e s"/,.*//"`
+CATEGORYLIST=`grep "^[a-z]" categories | awk -F, '{print $$1}'`
 categories-alpha.xml: ${INDEX} categories categories.descriptions \
 	packages.exists portindex ports.ent ports.size .NOTMAIN
 	${RM} -f categories-alpha.xml categories-grouped.xml \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210301333.q9UDXOhB001064>