From 84d6d72f8215a4cbc8d0b5fa50e36cf3a5f66323 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Sun, 4 Jun 2000 17:33:50 +0000 Subject: [PATCH] * newcvsroot: Handle filenames that contain spaces. From-SVN: r34391 --- contrib/ChangeLog | 4 ++++ contrib/newcvsroot | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 9a5987249faa..322744364a2c 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +2000-06-04 Mark Mitchell + + * newcvsroot: Handle filenames that contain spaces. + 2000-06-03 Zack Weinberg * test_summary: In generated script, use cat <<'EOF' not cat <<\EOF. diff --git a/contrib/newcvsroot b/contrib/newcvsroot index d264bbf7de31..43e8e079c0b9 100755 --- a/contrib/newcvsroot +++ b/contrib/newcvsroot @@ -24,10 +24,10 @@ esac find $topdir \( -name Repository -o -name Root \) -print | while read f; do case "$f" in -*/CVS/Root) echo $root > $f ;; +*/CVS/Root) echo $root > "$f" ;; */CVS/Repository) r=${module}${f#${topdir}} - echo > $f $rep/${r%/CVS/Repository} + echo > "$f" $rep/${r%/CVS/Repository} ;; esac