From: Ian Jackson Date: Mon, 21 Oct 2013 14:32:12 +0000 (+0100) Subject: fix printcmd and shellquote X-Git-Tag: debian/0.17_experimental1~16 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=aa031dd019a9b1d561aafac0ddb04ad5b3ae25ee fix printcmd and shellquote --- diff --git a/debian/changelog b/debian/changelog index f08a0738..883b8552 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +dgit (0.16~experimental3) experimental; urgency=low + + * Minor fixes arising from changes since 0.15. + + -- Ian Jackson 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 0c024c94..2f4ce489 100755 --- 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 $!; }