]> git.pld-linux.org Git - projects/pld-ftp-admin.git/commitdiff
Make separate cache for each tree and architecture when using createrepo.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 21 Jun 2007 20:19:06 +0000 (20:19 +0000)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 21 Jun 2007 20:19:06 +0000 (20:19 +0000)
Changed files:
    bin/pfa-genindex -> 1.14

bin/pfa-genindex

index e00499788b37b7ec116fcae4218b16b0dbcea4cd..6189cb93e645cbdebd3697c2c02bcc97aa372d58 100644 (file)
@@ -54,8 +54,8 @@ for tree in trees:
     for arch in all_ftp_archs:
         print 'ARCHITECTURE: %s' % arch
         # Creating indexes for yum and other supporting xml repodata.
-        os.system('%s.stat/bin/createrepo --cache %s/tmp/createrepo %s%s/%s/RPMS' %
-                (ftp_dir,home,ftp_dir,tree,arch))
+        os.system('%s.stat/bin/createrepo --cache %s/tmp/createrepo/%s-%s %s%s/%s/RPMS' %
+                (ftp_dir,tree,arch,home,ftp_dir,tree,arch))
 
 for tree in trees:
     ftpio.unlock(tree)
This page took 0.032732 seconds and 4 git commands to generate.