[Bash-completion-commits] ./current r1331: Fix -sourcepath handling in javadoc packages completion.

Ville Skyttä ville.skytta at iki.fi
Fri Feb 6 22:05:12 UTC 2009


------------------------------------------------------------
revno: 1331
committer: Ville Skyttä <ville.skytta at iki.fi>
branch nick: current
timestamp: Sat 2009-02-07 00:05:12 +0200
message:
  Fix -sourcepath handling in javadoc packages completion.
modified:
  bash_completion
  debian/changelog
-------------- next part --------------
=== modified file 'bash_completion'
--- a/bash_completion	2009-02-06 21:57:05 +0000
+++ b/bash_completion	2009-02-06 22:05:12 +0000
@@ -4666,8 +4666,10 @@
 	done
 
 	# default to classpath
-	[ -z "$sourcepath" ] && _java_find_classpath
-	sourcepath=$classpath
+	if [ -z "$sourcepath" ]; then
+		_java_find_classpath
+		sourcepath=$classpath
+	fi
 }
 
 # available classes completion

=== modified file 'debian/changelog'
--- a/debian/changelog	2009-02-06 21:57:05 +0000
+++ b/debian/changelog	2009-02-06 22:05:12 +0000
@@ -121,6 +121,7 @@
   * 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



More information about the Bash-completion-commits mailing list