We should use the calculated $idistro and $isuite
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
if (!defined $package) {
my $sourcep = parsecontrol('debian/control','debian/control');
$package = getfield $sourcep, 'Source';
if (!defined $package) {
my $sourcep = parsecontrol('debian/control','debian/control');
$package = getfield $sourcep, 'Source';
} else {
badusage "incorrect arguments to dgit fetch or dgit pull";
}
} else {
badusage "incorrect arguments to dgit fetch or dgit pull";
}