summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-04 17:33:50 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-04 17:33:50 +0000
commitf00065ad3b4b0915f6558e464cdadbeff3e83ce5 (patch)
tree938e96cd0444b258805128fb69c08825e81b647c /contrib
parent1b5956a1b12ebe19081a509b5c3455e2d4c04926 (diff)
downloadgcc-f00065ad3b4b0915f6558e464cdadbeff3e83ce5.tar.gz
* newcvsroot: Handle filenames that contain spaces.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34391 138bc75d-0d04-0410-961f-82ee72b054a4
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 9a5987249fa..322744364a2 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 d264bbf7de3..43e8e079c0b 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