chiark / gitweb /
Do not quote `:' in shellquote.
[dgit.git] / Debian / Dgit.pm
index 9216dee879d04eb285cb028072b4a1b47dbc8bfe..a453f352718b33a5567e040cdd9302973c40b279 100644 (file)
@@ -96,7 +96,7 @@ sub shellquote {
     local $_;
     foreach my $a (@_) {
        $_ = $a;
-       if (!length || m{[^-=_./0-9a-z]}i) {
+       if (!length || m{[^-=_./:0-9a-z]}i) {
            s{['\\]}{'\\$&'}g;
            push @out, "'$_'";
        } else {