Fix -sourcepath handling in javadoc packages completion.

This commit is contained in:
Ville Skyttä 2009-02-07 00:05:12 +02:00
parent 0145cd4b77
commit bc0367b04b
2 changed files with 5 additions and 2 deletions

View File

@ -4666,8 +4666,10 @@ _java_find_sourcepath()
done
# default to classpath
[ -z "$sourcepath" ] && _java_find_classpath
if [ -z "$sourcepath" ]; then
_java_find_classpath
sourcepath=$classpath
fi
}
# available classes completion

1
debian/changelog vendored
View File

@ -121,6 +121,7 @@ bash-completion (200902xx) UNRELEASED; urgency=low
* Remove duplicate cpio completion, thanks to Freddy Vulto (Closes: #512823)
* Fix awk error in "modprobe -r /" completion (Closes: #512556).
* Expand ~foo to dir name more eagerly to avoid quoting issues.
* Fix -sourcepath handling in javadoc packages completion.
[ Freddy Vulto ]
* Restored `_display()' completion for `display' by removing