chiark / gitweb /
dgit: push_mktags: Refactor introducing @dtxinfo
[dgit.git] / dgit
diff --git a/dgit b/dgit
index de53faa381c8a2574bbbde96f332d19a6218f2c1..c23ffa65758362c83b031e09474a75d59dbd8342 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -4361,7 +4361,7 @@ sub push_mktags ($$ $$ $) {
     # We make the git tag by hand because (a) that makes it easier
     # to control the "tagger" (b) we can do remote signing
     my $authline = clogp_authline $clogp;
-    my $dtxinfo = join(" ", "",@deliberatelies);
+    my @dtxinfo = @deliberatelies;
 
     my $mktag = sub {
        my ($tw) = @_;
@@ -4382,6 +4382,7 @@ END
 %s release %s for %s (%s) [dgit]
 ENDT
                or confess "$!";
+           my $dtxinfo = join(" ", "",@dtxinfo);
            print TO <<END or confess "$!";
 [dgit distro=$declaredistro$dtxinfo]
 END