OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-registry Date: 09-Aug-2006 14:41:39
Branch: HEAD Handle: 2006080913413900
Modified files:
openpkg-registry Makefile
Log:
big hammer to defeat non-ASCII char in current countrycode list to
honor "ALAND ISLANDS"; no .n intermediate step required
Summary:
Revision Changes Path
1.21 +3 -3 openpkg-registry/Makefile
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-registry/Makefile
============================================================================
$ cvs diff -u -r1.20 -r1.21 Makefile
--- openpkg-registry/Makefile 7 Aug 2006 18:48:16 -0000 1.20
+++ openpkg-registry/Makefile 9 Aug 2006 12:41:39 -0000 1.21
@@ -77,14 +77,14 @@
| sed -e 's;^.*"/Business/;;' -e 's;/".*$$;;' -e 's;_; ;g' \
| ( cat; echo "Private"; echo "Non-Profit Organization" ) \
| sort \
- > businesscategories.dat.n && mv businesscategories.dat.n
businesscategories.dat
+ > businesscategories.dat
countrycodes.dat:
curl --silent
'http://www.iso.org/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1-semic.txt'
\
- | sed -e 's/[^A-Z ();-]//g' -e 's/; /;/' \
+ | $(PERL) -ne 's/\xc5/A/g; s/; /;/; s/[^A-Z ();-]//g; print "$$_\n"' \
| egrep ';..$$' \
| sort \
- > countrycodes.dat.n && mv countrycodes.dat.n countrycodes.dat
+ > countrycodes.dat
tag:
@V=`shtool version -l txt -d short $(VERSION_FILE) | sed -e
's;\.;_;g'`; \
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]