Patch to simtest-howto.html

Ben Elliston bje@wasabisystems.com
Tue Mar 25 03:27:00 GMT 2003


Hi!

The following patch improves on the tree combining script and, in the 
process, corrects some errors surrounding directory navigation ("gcc" is 
at the same level of "src", for example).  Since there is no ChangeLog 
in the wwwdocs directory, I didn't write an entry.

Okay to commit?

Ben


Index: simtest-howto.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/simtest-howto.html,v
retrieving revision 1.11
diff -u -r1.11 simtest-howto.html
--- simtest-howto.html  10 Feb 2003 21:42:03 -0000      1.11
+++ simtest-howto.html  25 Mar 2003 03:07:56 -0000
@@ -28,11 +28,8 @@
 # You will be prompted for a password; reply with "anoncvs".
 cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/src co binutils newlib 
dejagnu gdb
 cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/src logout
-cd src
-find . -print | cpio -pdlm ../../combined
-cd ../../gcc/gcc
-find . -print | cpio -pdlmu ../../combined
-cd ../..
+cd src && find . -print | cpio -pdlm ../combined && cd ..
+cd gcc && find . -print | cpio -pdlmu ../combined && cd ..
 </pre>
 
     <p>This will create, in <code>combined</code>, a tree which consists




More information about the Gcc-patches mailing list