This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

PATCH to newcvsroot



This was missing a couple of quotes needed to handled filenames with
spaces in them.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

2000-06-04  Mark Mitchell  <mark@codesourcery.com>

	* newcvsroot: Handle filenames that contain spaces.

Index: newcvsroot
===================================================================
RCS file: /cvs/gcc/egcs/contrib/newcvsroot,v
retrieving revision 1.2
diff -c -p -r1.2 newcvsroot
*** newcvsroot	1999/12/18 14:34:56	1.2
--- newcvsroot	2000/06/04 17:33:35
*************** esac
*** 24,33 ****
  find $topdir \( -name Repository -o -name Root \) -print | while read f; do
  
  case "$f" in
! */CVS/Root) echo $root > $f ;;
  */CVS/Repository)
    r=${module}${f#${topdir}}
!   echo > $f $rep/${r%/CVS/Repository}
    ;;
  esac
  
--- 24,33 ----
  find $topdir \( -name Repository -o -name Root \) -print | while read f; do
  
  case "$f" in
! */CVS/Root) echo $root > "$f" ;;
  */CVS/Repository)
    r=${module}${f#${topdir}}
!   echo > "$f" $rep/${r%/CVS/Repository}
    ;;
  esac
  

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]