pld-ftp-admin: scripts/from-incoming.py sort using C locale
arekm
arekm at pld-linux.org
Wed Jan 7 21:43:32 CET 2009
Author: arekm Date: Wed Jan 7 20:43:31 2009 GMT
Module: pld-ftp-admin Tag: HEAD
---- Log message:
sort using C locale
---- Files affected:
pld-ftp-admin/scripts:
from-incoming.py (1.15 -> 1.16)
---- Diffs:
================================================================
Index: pld-ftp-admin/scripts/from-incoming.py
diff -u pld-ftp-admin/scripts/from-incoming.py:1.15 pld-ftp-admin/scripts/from-incoming.py:1.16
--- pld-ftp-admin/scripts/from-incoming.py:1.15 Thu May 8 14:30:52 2008
+++ pld-ftp-admin/scripts/from-incoming.py Wed Jan 7 21:43:26 2009
@@ -124,9 +124,9 @@
def move_noarch(f, arch, rpm, dstpkg):
if dstpkg.noarch_arch.has_key(rpm):
- os.system("rpm -qlp %s > %s/files.new" %
+ os.system("rpm -qlp %s | LC_ALL=C sort > %s/files.new" %
(incoming_dir+arch+'/'+rpm, tmpdir))
- os.system("rpm -qRp %s |sort|uniq > %s/reqs.new" %
+ os.system("rpm -qRp %s | LC_ALL=C sort | uniq > %s/reqs.new" %
(incoming_dir+arch+'/'+rpm, tmpdir))
files_differ=False
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-ftp-admin/scripts/from-incoming.py?r1=1.15&r2=1.16&f=u
More information about the pld-cvs-commit
mailing list