]> git.pld-linux.org Git - projects/pld-ftp-admin.git/blobdiff - bin/pfa-from-incoming
- always call rpm -l under C locale
[projects/pld-ftp-admin.git] / bin / pfa-from-incoming
index 208896ab0122da9859ec5b82425a94091ce69199..a907cf4bfdf61f9364253e0c48d3f2ee7ce73bb3 100644 (file)
@@ -96,7 +96,7 @@ Subject: %s
 
 def move_noarch(f, arch, rpmfile, dstpkg):
     if dstpkg.noarch_arch.has_key(rpmfile):
-        os.system("rpm -qlp %s | LC_ALL=C sort > %s/files.new" %
+        os.system("LC_ALL=C rpm -qlp %s | LC_ALL=C sort > %s/files.new" %
                   (incoming_dir + arch + '/' + rpmfile, tmpdir))
         os.system("rpm -qRp %s | LC_ALL=C sort | LC_ALL=C uniq > %s/reqs.new" %
                   (incoming_dir + arch + '/' + rpmfile, tmpdir))
This page took 0.027781 seconds and 4 git commands to generate.