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 done
# default to classpath # default to classpath
[ -z "$sourcepath" ] && _java_find_classpath if [ -z "$sourcepath" ]; then
sourcepath=$classpath _java_find_classpath
sourcepath=$classpath
fi
} }
# available classes completion # 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) * Remove duplicate cpio completion, thanks to Freddy Vulto (Closes: #512823)
* Fix awk error in "modprobe -r /" completion (Closes: #512556). * Fix awk error in "modprobe -r /" completion (Closes: #512556).
* Expand ~foo to dir name more eagerly to avoid quoting issues. * Expand ~foo to dir name more eagerly to avoid quoting issues.
* Fix -sourcepath handling in javadoc packages completion.
[ Freddy Vulto ] [ Freddy Vulto ]
* Restored `_display()' completion for `display' by removing * Restored `_display()' completion for `display' by removing