share/rbbt_commands/rsync in rbbt-util-5.21.9 vs share/rbbt_commands/rsync in rbbt-util-5.21.11
- old
+ new
@@ -27,10 +27,10 @@
end
exit 0
end
excludes = %w(.save .crap .source tmp filecache open-remote workflows apps software jobs sinatra PCAWG)
-excludes += options[:exclude].split(/,\s*/)
+excludes += (options[:exclude] || "").split(/,\s*/)
excludes_str = excludes.collect{|s| "--exclude '#{s}'" } * " "
test_str = options[:test] ? '-nv' : ''
source, target, _sep, *other = ARGV