From c77c4e12ac8275969917446d8aa39fbc20739173 Mon Sep 17 00:00:00 2001 From: Siegfried-Angel Gevatter Pujals Date: Fri, 2 Jan 2009 14:53:21 +0100 Subject: [PATCH] .. --- pbuilder-dist.new | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pbuilder-dist.new b/pbuilder-dist.new index 36c9d09..bff9fb2 100755 --- a/pbuilder-dist.new +++ b/pbuilder-dist.new @@ -186,7 +186,7 @@ class pbuilder_dist: if self.builder == 'pbuilder': base = '--basetgz "%s-base.tgz"' % prefix elif self.builder == 'cowbuilder': - base = '--basepath "%s-base.cow"' % prefix, + base = '--basepath "%s-base.cow"' % prefix arguments = [ '--%s' % self.operation, @@ -198,7 +198,7 @@ class pbuilder_dist: ### --mirror "${ARCHIVE}" \ '--override-config', ] - + if os.path.exists('/var/cache/archive/'): arguments.append('--bindmounts "/var/cache/archive/"') @@ -259,7 +259,7 @@ def help(exit_code = 0): """ - print 'Bad...' + print 'See man pbuilder-dist for more information.' sys.exit(exit_code) @@ -324,7 +324,7 @@ def main(): app.set_operation(args.pop(0)) # Execute the pbuilder command - print app.get_command(args) + sys.exit(os.system(app.get_command(args))) if __name__ == '__main__':