summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2013-09-12 00:10:07 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2013-09-12 00:10:07 +0100
commit07cb0f6806a69f80bd3c70abb4beff83babe4cac (patch)
tree15f3928261860f7f93856e1cd4ef8572fdf78259
parent66594ad255963a63ee55caa88ce5fa3a2b5954a1 (diff)
parsechangelog takes optional args for dpkg-parsechangelog
-rwxr-xr-xdgit2
1 files changed, 1 insertions, 1 deletions
diff --git a/dgit b/dgit
index 9768fe9..123c2d5 100755
--- a/dgit
+++ b/dgit
@@ -340,7 +340,7 @@ sub getfield ($$) {
sub parsechangelog {
my $c = Dpkg::Control::Hash->new();
my $p = new IO::Handle;
- my @cmd = (qw(dpkg-parsechangelog));
+ my @cmd = (qw(dpkg-parsechangelog), @_);
open $p, '-|', @cmd or die $!;
$c->parse($p);
$?=0; $!=0; close $p or failedcmd @cmd;