X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/339eb8943e8b93e3b5fe1043ea3f40196079ee55..789213909dfbf1c1e40e67663bff386756012eb6:/support/cvs2includes diff --git a/support/cvs2includes b/support/cvs2includes index 676b9f4d..33981de7 100755 --- a/support/cvs2includes +++ b/support/cvs2includes @@ -11,7 +11,7 @@ # use the -F option, which is easier to type.) # # The downside is that you need to remember to re-run cvs2includes whenever -# You add a new file to the project. +# you add a new file to the project. use strict; open(FIND, 'find . -name CVS -type d |') or die $!; @@ -31,7 +31,7 @@ while () { close ENTRIES; if (@includes) { open(FILTER, ">$filter") or die "Unable to write $filter: $!\n"; - print FILTER '+ /', join("\n+ /", @includes), "\n"; + print FILTER map "+ /$_\n", @includes; close FILTER; print "Updated $filter\n"; } elsif (-f $filter) {