svn commit: r39855 - head/ru_RU.KOI8-R/htdocs/ports

Glen Barber gjb at FreeBSD.org
Tue Oct 30 13:33:24 UTC 2012


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 \


More information about the svn-doc-all mailing list