]> git.pld-linux.org Git - projects/pld-ftp-admin.git/commitdiff
- move comps.xml to subdir and cvs up it prior each run
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 28 Aug 2008 14:28:02 +0000 (14:28 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Thu, 28 Aug 2008 14:28:02 +0000 (14:28 +0000)
Changed files:
    bin/pfa-genindex -> 1.21

bin/pfa-genindex

index cf1b2a9a1bdf3b51306759750d596eaf80700875..59147a39a6f8f98b170d29bac77dc3962defb8c4 100644 (file)
@@ -69,12 +69,13 @@ if do_poldek:
                             (ftp_dir,home,ftp_dir,ftp_dir,tree,arch))
 
 if do_yum:
+    os.system('set -x; cd %s.stat/repodata && cvs up comps.xml' % ftp_dir)
     for tree in trees:
         print '-------------------------- %s --------------------------' % tree
         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 -d -g %s.stat/comps.xml --cache %s/tmp/createrepo/%s-%s %s%s/%s/RPMS' %
+            os.system('%s.stat/bin/createrepo -d -g %s.stat/repodata/comps.xml --cache %s/tmp/createrepo/%s-%s %s%s/%s/RPMS' %
                     (ftp_dir,ftp_dir,home,tree,arch,ftp_dir,tree,arch))
 
 for tree in trees:
This page took 0.030036 seconds and 4 git commands to generate.