do not clean again after building
authorRalf Jung <post@ralfj.de>
Thu, 13 Dec 2012 14:39:54 +0000 (15:39 +0100)
committerRalf Jung <post@ralfj.de>
Thu, 13 Dec 2012 14:39:54 +0000 (15:39 +0100)
auto_debuild.py

index 2bb4f8ce1856fcd0c6c2eb54a450ceaaad4d3e1f..4c7e10e2ac2fbafa250012c4c63cf6ad6a3d9cb1 100755 (executable)
@@ -337,7 +337,7 @@ def createDebianFiles(config):
 def buildDebianPackage(config):
        if not isinstance(config, ConfigDict):
                config = ConfigDict(config)
-       commands = ['dpkg-checkbuilddeps', 'debian/rules clean', 'debian/rules build', 'fakeroot debian/rules binary', 'debian/rules clean']
+       commands = ['dpkg-checkbuilddeps', 'debian/rules clean', 'debian/rules build', 'fakeroot debian/rules binary']
        command = ['bash', '-c', ' && '.join(commands)] # make it all one command, so we don't have to open and close the chroot too often
        subprocess.check_call(commandInBuildEnv(config, command))
        shutil.rmtree('debian') # it only contains what we just created