chiark / gitweb /
dgit-mirror-ssh-wrap: Fix syntax for multiple patterns
[dgit.git] / infra / dgit-mirror-ssh-wrap
index c3d033f5862e1993c8dbd3f5a3239b2fd9aa170f..4ce4e24521494fe5d8b1511a3750cd2a8aadd285 100755 (executable)
@@ -24,7 +24,7 @@ my $command = $ENV{SSH_ORIGINAL_COMMAND}
 
 #print STDERR ">$d<\n";
 
-$command =~
+$_ = $command;
 
 m{^rsync --server -lHtre\.iLsfxC --timeout=\d+ --delete --safe-links \. $d$}