This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [PATCH] libjava/HACKING nits
- From: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Sun, 2 Mar 2008 23:45:05 +0100
- Subject: Re: [PATCH] libjava/HACKING nits
- References: <20080302222843.GB14107@ins.uni-bonn.de> <jek5kkg3eb.fsf@sykes.suse.de>
* Andreas Schwab wrote on Sun, Mar 02, 2008 at 11:35:56PM CET:
> Ralf Wildenhues <Ralf.Wildenhues@gmx.de> writes:
>
> > - svn status classpath | grep '^\!.*\.class$' | cut -c8- | xargs svn remove
> > - svn status classpath | grep '^\?' | cut -c8- | xargs svn add
> > - - svn status gnu java javax org sun | grep '^\!.*\.h$' | cut -c8- | xargs svn remove
> There's another occurrence of these two above.
Darn, how could I overlook that ... OK to this for trunk?
Thanks,
Ralf
libjava/ChangeLog:
2008-03-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* HACKING: Fix grep patterns.
diff --git a/libjava/HACKING b/libjava/HACKING
index 75bc63b..03563b2 100644
--- a/libjava/HACKING
+++ b/libjava/HACKING
@@ -67,7 +67,7 @@ To import a new release:
svn+ssh://gcc.gnu.org/svn/gcc/branches/CLASSPATH/libjava/classpath
this contains "pure" GNU Classpath inside the GCC tree.
- Clean it up and get the files from a new version:
- - find classpath -type f | grep -v /\.svn | grep -v /\.cvs | xargs rm
+ - find classpath -type f | grep -v '/\.svn' | grep -v '/\.cvs' | xargs rm
- tar zxf classpath-x.tar.gz
- cp -r classpath-x/* classpath
- Add/Remove files:
@@ -121,10 +121,10 @@ To import a new release:
will need to update the .class files and generated CNI header files in
your working tree
- Add/Remove newly generated files:
- - svn status classpath | grep '^\!.*\.class$' | cut -c8- | xargs svn remove
- - svn status classpath | grep '^\?' | cut -c8- | xargs svn add
- - svn status gnu java javax org sun | grep '^\!.*\.h$' | cut -c8- | xargs svn remove
- - svn status gnu java javax org sun | grep '^\?' | cut -c8- | xargs svn add
+ - svn status classpath | grep '^!.*\.class$' | cut -c8- | xargs svn remove
+ - svn status classpath | grep '^?' | cut -c8- | xargs svn add
+ - svn status gnu java javax org sun | grep '^!.*\.h$' | cut -c8- | xargs svn remove
+ - svn status gnu java javax org sun | grep '^?' | cut -c8- | xargs svn add
Over time we plan to remove as many of the remaining divergences as
possible.