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)
# read command-line arguments
parser = argparse.ArgumentParser(description='Update and build a bunch of stuff')
-parser.add_argument("-c, --config",
+parser.add_argument("-c", "--config",
dest="config", default="mass-build.conf",
help="mass-build config file")
parser.add_argument("--reconfigure",