summaryrefslogtreecommitdiff
path: root/support/cvs2includes
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2007-03-21 13:51:54 +0000
committerWayne Davison <wayned@samba.org>2007-03-21 13:51:54 +0000
commit5463453489b58c47ea709d844ba80a1f657c3aa3 (patch)
tree1e3c71827cacddee137a44069a1b7e25eaa2a9cf /support/cvs2includes
parent108133689de94aebca29b41cf8f0156fd03123a1 (diff)
downloadrsync-5463453489b58c47ea709d844ba80a1f657c3aa3.tar.gz
The print now uses a more straight-forward map() instead of a join().
Diffstat (limited to 'support/cvs2includes')
-rwxr-xr-xsupport/cvs2includes4
1 files changed, 2 insertions, 2 deletions
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 (<FIND>) {
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) {