* newcvsroot: Handle filenames that contain spaces.

From-SVN: r34391
This commit is contained in:
Mark Mitchell 2000-06-04 17:33:50 +00:00 committed by Mark Mitchell
parent 35718b49f4
commit 84d6d72f82
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2000-06-04 Mark Mitchell <mark@codesourcery.com>
* newcvsroot: Handle filenames that contain spaces.
2000-06-03 Zack Weinberg <zack@wolery.cumb.org>
* test_summary: In generated script, use cat <<'EOF' not cat <<\EOF.

View File

@ -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