rename some options for a more consistent naming; fix auto-debuild build system
[mass-build.git] / build_system.py
index 2e10aed32425644878128ebe572cf401202c90c7..975c2c558103579cd245a87b9a2e646caea5aecd 100644 (file)
@@ -49,7 +49,7 @@ try:
                        # create auto-debuild configuration
                        autoDebuildConfig = {
                                'sourceName': self.module['name'],
-                               'buildSystem': self.module['build-system'],
+                               'buildSystem': self.module['buildSystem'],
                                'debDir': self.debDir,
                                'buildDir': self.buildFolder,
                                'name': self.debName,
@@ -57,7 +57,7 @@ try:
                                'parallelJobs': self.jobs,
                                'version': self.vcs.version()
                        }
-                       if self.autoDebuildConfig['version'] is None:
+                       if autoDebuildConfig['version'] is None:
                                raise Exception("VCS did not provide us with a proper version number, please fix this")
                        # copy some more optional configuration
                        for option in ('dbgPackage', 'binarySkipFiles', 'binaryInstallFiles', 'buildDepends', 'binaryDepends', 'binaryRecommends',