diff options
Diffstat (limited to 'libjava/classpath/lib/gen-classlist.sh.in')
-rwxr-xr-x | libjava/classpath/lib/gen-classlist.sh.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/classpath/lib/gen-classlist.sh.in b/libjava/classpath/lib/gen-classlist.sh.in index 795d7be..aeba9bf 100755 --- a/libjava/classpath/lib/gen-classlist.sh.in +++ b/libjava/classpath/lib/gen-classlist.sh.in @@ -57,8 +57,8 @@ done # Only include generated files once. if test ! "${top_builddir}" -ef "@top_srcdir@"; then echo "Adding generated files in builddir '${top_builddir}'." - # Currently the only generated files are in gnu and java. - (cd ${top_builddir}; @FIND@ gnu java -follow -name '*.java' -print) | + # Currently the only generated files are in gnu.*. + (cd ${top_builddir}; @FIND@ gnu -follow -name '*.java' -print) | sort | sed -e 's,/\([^/]*\)$, \1,' | while read pkg file; do echo $pkg $top_builddir $pkg/$file |