From a9b7bc191644b34394664bbf37a6797d627182bf Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Thu, 13 Dec 2012 15:39:54 +0100 Subject: [PATCH] do not clean again after building --- auto_debuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto_debuild.py b/auto_debuild.py index 2bb4f8c..4c7e10e 100755 --- a/auto_debuild.py +++ b/auto_debuild.py @@ -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 -- 2.30.2