patch for update-class-list
Patrick Tullmann
tullmann at cs.utah.edu
Wed Feb 23 11:16:19 PST 2000
This patch prevents developers/update-class-list from including
/.~foo.java (i.e., temporary backup files) in the list of classes to
include in Klasses.jar. Hmm... I guess most folks don't write their
backup files as .~foo..., but it shouldn't cause any problems (files
that start with "." probably aren't legal anyway).
-Pat
diff -u -u -r1.3 update-class-list
--- update-class-list 1999/08/06 23:55:36 1.3
+++ update-class-list 2000/02/23 19:12:34
@@ -20,7 +20,7 @@
trap 'rm -f classlist pkglist macrodef; exit 1' 1 2 15
echo WARNING: Omitting java/awt/win32 package from the list of packages
-find $SRCDIRS -name \*.java -print | sort > classlist
+find $SRCDIRS -name ".*" -o -name \*.java -print | sort > classlist
sed 's,/[^/]*$,,' < classlist | uniq | grep -v java/awt/win32 > pkglist
More information about the kaffe
mailing list