Skip to content

Commit

Permalink
Fix for missing comps for RPMS.all.
Browse files Browse the repository at this point in the history
See #39
  • Loading branch information
btong committed Feb 2, 2012
1 parent b53d52a commit 0e63df2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mrepo
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -459,8 +459,9 @@ class Dist:
allsrcdirs.extend(srcdirs) allsrcdirs.extend(srcdirs)


else: else:
self.linksync(repo) self.linksync(repo, [ repo.srcdir, repo.allsrcdir ])
allsrcdirs.append(repo.srcdir) allsrcdirs.append(repo.srcdir)
allsrcdirs.append(repo.allsrcdir)


repo.check() repo.check()
repo.createmd() repo.createmd()
Expand Down Expand Up @@ -664,6 +665,7 @@ class Repo:
self.url = url self.url = url
self.dist = dist self.dist = dist
self.srcdir = os.path.join(cf.srcdir, dist.nick, self.name) self.srcdir = os.path.join(cf.srcdir, dist.nick, self.name)
self.allsrcdir = os.path.join(cf.srcdir, 'all', self.name)
self.wwwdir = os.path.join(dist.dir, 'RPMS.' + self.name) self.wwwdir = os.path.join(dist.dir, 'RPMS.' + self.name)


self.changed = False self.changed = False
Expand Down

0 comments on commit 0e63df2

Please sign in to comment.