chiark / gitweb /
fix printcmd and shellquote
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 21 Oct 2013 14:32:12 +0000 (15:32 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 21 Oct 2013 14:32:12 +0000 (15:32 +0100)
debian/changelog
dgit

index f08a0738a58280b78e94bf258a79d733daaaa1f0..883b85520958ea4530737447216ac3dd635d3b9f 100644 (file)
@@ -1,3 +1,9 @@
+dgit (0.16~experimental3) experimental; urgency=low
+
+  * Minor fixes arising from changes since 0.15.
+
+ -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Mon, 21 Oct 2013 15:31:59 +0100
+
 dgit (0.16~experimental2) experimental; urgency=low
 
   * WIP remote functionality.  Untested, do not use.
diff --git a/dgit b/dgit
index 0c024c942c57c0fe5fb3a48e0fcd919447041831..2f4ce4896e8e0b7b45ad25e7f15e402f9e181705 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -289,13 +289,13 @@ sub shellquote {
            push @out, $_;
        }
     }
-    return join '', @out;
+    return join ' ', @out;
 }
 
 sub printcmd {
     my $fh = shift @_;
     my $intro = shift @_;
-    print $fh $intro or die $!;
+    print $fh $intro," " or die $!;
     print $fh shellquote @_ or die $!;
     print $fh "\n" or die $!;
 }