aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2000-06-04 17:33:50 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2000-06-04 17:33:50 +0000
commit84d6d72f8215a4cbc8d0b5fa50e36cf3a5f66323 (patch)
tree938e96cd0444b258805128fb69c08825e81b647c /contrib
parent35718b49f497dce66a218373664526a5cece8717 (diff)
downloadgcc-84d6d72f8215a4cbc8d0b5fa50e36cf3a5f66323.zip
gcc-84d6d72f8215a4cbc8d0b5fa50e36cf3a5f66323.tar.gz
gcc-84d6d72f8215a4cbc8d0b5fa50e36cf3a5f66323.tar.bz2
* newcvsroot: Handle filenames that contain spaces.
From-SVN: r34391
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog4
-rwxr-xr-xcontrib/newcvsroot4
2 files changed, 6 insertions, 2 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 9a59872..3227443 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -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.
diff --git a/contrib/newcvsroot b/contrib/newcvsroot
index d264bbf..43e8e07 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