Use arch as part of the topdir
This commit is contained in:
parent
abd0a5524d
commit
2e4db74149
2
pungi.py
2
pungi.py
@ -19,7 +19,7 @@ class Pungi:
|
|||||||
def __init__(self, opts):
|
def __init__(self, opts):
|
||||||
self.opts = opts
|
self.opts = opts
|
||||||
self.prodpath = 'Fedora' # Probably should be defined elsewhere
|
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.mkdir(self.basedir)
|
||||||
os.link(self.opts.comps, os.path.join(self.basedir, 'comps.xml'))
|
os.link(self.opts.comps, os.path.join(self.basedir, 'comps.xml'))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user