summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2015-03-22 16:00:52 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2015-03-22 16:00:52 +0000
commit1c6183785fa3a9f6fe60a55bb9ff200963b4e791 (patch)
tree3799c71234c5d74bc659148028251642221eaafd /dgit
parentf46909c2a0e4b6c3e038b4ff92909060a3cc1bee (diff)
Bugfixes (now tests/tests/clone-nogit works)
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit4
1 files changed, 3 insertions, 1 deletions
diff --git a/dgit b/dgit
index 9d40cee..088c5a2 100755
--- a/dgit
+++ b/dgit
@@ -52,6 +52,7 @@ our $new_package = 0;
our $ignoredirty = 0;
our $rmonerror = 1;
our @deliberatelies;
+our %supersedes;
our $existing_package = 'dpkg';
our $cleanmode = 'dpkg-source';
our $changes_since_version;
@@ -1562,6 +1563,7 @@ sub push_mktag ($$$$$$$) {
# to control the "tagger" (b) we can do remote signing
my $authline = clogp_authline $clogp;
my $delibs = join(" ", "",@deliberatelies);
+ my $declaredistro = access_basedistro();
open TO, '>', $tfn->('.tmp') or die $!;
print TO <<END or die $!;
object $head
@@ -1570,7 +1572,7 @@ tag $tag
tagger $authline
$package release $cversion for $clogsuite ($csuite) [dgit]
-[dgit distro=$distro$delibs]
+[dgit distro=$declaredistro$delibs]
END
foreach my $ref (sort keys %supersedes) {
print TO <<END or die $!;