Have to call os.makedirs

This commit is contained in:
Martin Gracik 2011-03-22 17:36:46 +01:00
parent 84f00068e3
commit 1de4bb132c
1 changed files with 3 additions and 4 deletions

View File

@ -157,9 +157,8 @@ class PPC(object):
# create ppc dir
os.makedirs(joinpaths(self.outputroot, ppcdir))
if (kernel_arch == "ppc"):
# create mac dir
os.makedirs(joinpaths(self.outputroot, MACDIR))
# create mac dir
os.makedirs(joinpaths(self.outputroot, MACDIR))
# create netboot dir
os.makedirs(joinpaths(self.outputroot, NETBOOTDIR))
@ -744,7 +743,7 @@ class SPARC(object):
def create_boot(self, efiboot=None):
# create isopath dir
isopathdir = joinpaths(self.outputroot, ISOPATHDIR)
makedirs(isopathdir)
os.makedirs(isopathdir)
# copy sparc dir to isopath dir
shutil.copytree(joinpaths(self.outputroot, SPARCDIR),