[kaffe] CVS kaffe (dalibor): Slightly improved classpath comparison script

Kaffe CVS Kaffe Mailing List <kaffe@kaffe.org>
Mon Sep 15 09:54:02 2003


PatchSet 4038 
Date: 2003/09/15 16:43:11
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Slightly improved classpath comparison script

Members: 
	ChangeLog:1.1634->1.1635 
	developers/check-classpath-merge-status:1.1->1.2 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1634 kaffe/ChangeLog:1.1635
--- kaffe/ChangeLog:1.1634	Mon Sep 15 15:47:59 2003
+++ kaffe/ChangeLog	Mon Sep 15 16:43:11 2003
@@ -1,4 +1,9 @@
 2003-09-15  Dalibor Topic <robilad@kaffe.org>
+
+	* developers/check-classpath-merge-status:
+	Flexibilized, now uses $CPATH_SOURCE. Improved documentation.
+	
+2003-09-15  Dalibor Topic <robilad@kaffe.org>
 	
 	* libraries/javalib/javax/xml/parsers/DocumentBuilder.java,
 	libraries/javalib/javax/xml/parsers/DocumentBuilderFactory.java,
Index: kaffe/developers/check-classpath-merge-status
diff -u kaffe/developers/check-classpath-merge-status:1.1 kaffe/developers/check-classpath-merge-status:1.2
--- kaffe/developers/check-classpath-merge-status:1.1	Thu Nov 28 10:23:17 2002
+++ kaffe/developers/check-classpath-merge-status	Mon Sep 15 16:43:12 2003
@@ -4,4 +4,9 @@
 ## and print out the files found
 ## pass it to xargs to diff them one by one against the classpath dir
 ## grep for diffs
-find . -name "*.java" | xargs grep -l 2>/dev/null "of GNU Classpath" | xargs -n 1 -iXXX diff -u XXX ~/classpath/XXX | grep "+++"
+## use awk to output just the filenames
+##
+## To use this, you need to set the CPATH_SOURCE environment veriable
+## the directory where you've put the classpath CVS sources
+##
+find . -name "*.java" | xargs grep -l 2>/dev/null "of GNU Classpath" | xargs -n 1 -iXXX diff -u XXX $CPATH_SOURCE/XXX | grep "+++" | awk '{ print $2 }'