X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=dgit;h=2f4ce4896e8e0b7b45ad25e7f15e402f9e181705;hb=aa031dd019a9b1d561aafac0ddb04ad5b3ae25ee;hp=0c024c942c57c0fe5fb3a48e0fcd919447041831;hpb=25a8dc18619262f46043974ad4de5eeaab10bf75;p=dgit.git 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 $!; }