Patch against rrsync, a script included in the rsync distribution, to make it compatible with rsync 3.0.0. Fixes the "invalid rsync-command syntax or options" error. Author: e-t172 http://www.e-t172.net/ --- rrsync 2008-03-16 16:47:02.000000000 +0100 +++ rrsync 2008-03-16 16:55:47.000000000 +0100 @@ -50,7 +50,7 @@ # To disable a short-named option, add its letter to this string: our $short_disabled = 's'; -our $short_no_arg = 'ACDEHIKLORSWXbcdgklmnoprstuvxz'; # DO NOT REMOVE ANY +our $short_no_arg = 'ACDEHIKLORSWXbcdgiklmnoprstuvxz'; # DO NOT REMOVE ANY our $short_with_num = 'B'; # DO NOT REMOVE ANY # To disable a long-named option, change its value to a -1. The values mean: @@ -139,7 +139,7 @@ if ($_ eq '.') { $in_options = 0; } else { - next if /^-$short_no_arg+(e\d+\.\d+)?$/o || /^-$short_with_num\d+$/o; + next if /^-($short_no_arg|e\d*\.\d*)+$/o || /^-$short_with_num\d+$/o; my($opt,$arg) = /^--([^=]+)(?:=(.*))?$/; my $disabled;