summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-05-29 10:59:58 +0100
committerLars Wirzenius <liw@liw.fi>2011-05-29 10:59:58 +0100
commit2a55ea801706c29b9aadeddc626632f1835c81fb (patch)
treea8e48f18a8f77d9d7db4e6d08f8ba862c94e4890
parentf3c6116f948272ff1a1929c2441185cf6e86afc2 (diff)
downloadunperish-2a55ea801706c29b9aadeddc626632f1835c81fb.tar.gz
Add dsc command.
-rwxr-xr-xunperish5
1 files changed, 4 insertions, 1 deletions
diff --git a/unperish b/unperish
index 98ec244..2162ee6 100755
--- a/unperish
+++ b/unperish
@@ -73,9 +73,12 @@ class Unperish(cliapp.Application):
def cmd_debian_tarball(self, args):
origtar = self.join(self.debian_tarball)
- print 'origar:', origtar
self.runcmd('bzr', 'export', origtar)
+ def cmd_dsc(self, args):
+ self.runcmd('dpkg-source', '-b', self.dirname,
+ cwd=self.settings['build-area'])
+
def read_meta(self):
cp = ConfigParser.RawConfigParser()
cp.read(self.metafilename)