Use arch as part of the topdir

This commit is contained in:
jkeating@localhost.localdomain 2006-10-23 21:46:08 -04:00 committed by Jesse Keating
parent abd0a5524d
commit 2e4db74149
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class Pungi:
def __init__(self, opts):
self.opts = opts
self.prodpath = 'Fedora' # Probably should be defined elsewhere
self.basedir = os.path.join(self.opts.topdir, self.prodpath, 'base') # Probably should be defined elsewhere
self.basedir = os.path.join(self.opts.topdir, self.opts.arch, self.prodpath, 'base') # Probably should be defined elsewhere
os.mkdir(self.basedir)
os.link(self.opts.comps, os.path.join(self.basedir, 'comps.xml'))