]> git.pld-linux.org Git - projects/pld-ftp-admin.git/commitdiff
- always call rpm -l under C locale
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 24 Oct 2013 08:17:26 +0000 (08:17 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 24 Oct 2013 08:17:26 +0000 (08:17 +0000)
Changed files:
    bin/pfa-from-incoming -> 1.33

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.094228 seconds and 4 git commands to generate.