X-Git-Url: https://git.ralfj.de/mass-build.git/blobdiff_plain/073fbf0d51a2a96e2277671d61401bc15698b935..2d7dbfca0da3fb29cd8578a2e2fd66b698fe3a3d:/build_system.py?ds=sidebyside diff --git a/build_system.py b/build_system.py index 9dceb7d..1697dc6 100644 --- a/build_system.py +++ b/build_system.py @@ -110,8 +110,7 @@ try: autoDebuildConfig[option] = self.config[option] # create Debian files os.chdir(self.sourceFolder) - if os.path.isdir('debian'): # clean previous build attempts - shutil.rmtree('debian') + auto_debuild.deleteDebianFolder() files = auto_debuild.createDebianFiles(autoDebuildConfig) # build package(s) auto_debuild.buildDebianPackage(autoDebuildConfig)