Remove the check if the output directory exists when starting lorax.
Pungi creates the output directory before invoking the buildinstall, so we don't want to require that the directory does not exist.
This commit is contained in:
parent
88969ae0db
commit
8c147979ce
@ -78,7 +78,6 @@ class Lorax(BaseLoraxClass):
|
|||||||
updatesdir=updatesdir)
|
updatesdir=updatesdir)
|
||||||
|
|
||||||
# create the output directory
|
# create the output directory
|
||||||
assert not os.path.isdir(outputdir), "output directory exists"
|
|
||||||
self.outputdir = outputdir
|
self.outputdir = outputdir
|
||||||
makedirs_(self.outputdir)
|
makedirs_(self.outputdir)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user