chiark / gitweb /
fix bug which causes all uploads to go to sid (!)
[dgit.git] / dgit
diff --git a/dgit b/dgit
index ff6956e1919f67e656aab48dab3a373b41d1bc53..2d47dbfebcf201ce6e465e449de15e38e96ccf39 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -854,6 +854,7 @@ sub dopush () {
        $changes->{$field} eq $clogp->{$field} or
            fail "changes field $field \`$changes->{$field}'".
                " does not match changelog \`$clogp->{$field}'";
+    }
     my $tag = debiantag($dversion);
     if (!check_for_git()) {
        create_remote_git_repo();
@@ -1063,7 +1064,7 @@ sub build_source {
     check_not_dirty();
     my $clogp = parsechangelog();
     $package = getfield $clogp, 'Source';
-    my $isuite = getfield $clogp, 'Distribution';
+    $isuite = getfield $clogp, 'Distribution';
     $version = getfield $clogp, 'Version';
     $sourcechanges = "${package}_${version}_source.changes";
     $dscfn = dscfn($version);