[Bash-completion-commits] [SCM] bash-completion branch, frozen/1.0, updated. a32b0c0ab562882300fcd378ff51106bdcc3d97a

Freddy Vulto fvulto at gmail.com
Wed Feb 25 20:38:06 UTC 2009


The following commit has been merged in the frozen/1.0 branch:
commit 97e2f98fab263633c017d24b29ff0f21a2d01c4c
Author: Freddy Vulto <fvulto at gmail.com>
Date:   Wed Feb 25 21:30:42 2009 +0100

    Fixed unset $ODBCINI bug in _isql()
    Fix _isql completion waiting for grep input if $ODBCINI not set; handle
    whitespace in $ODBCINI.
    
    Conflicts:
    
    	debian/changelog

diff --git a/contrib/isql b/contrib/isql
index 84eba20..fd66af5 100644
--- a/contrib/isql
+++ b/contrib/isql
@@ -8,6 +8,6 @@ _isql()
 	local cur
 	cur=`_get_cword`
   
-	COMPREPLY=( $( grep \\[$cur $ODBCINI | tr -d \\[\\] ) )
+	[ -f "$ODBCINI" ] && COMPREPLY=( $( grep \\[$cur "$ODBCINI" | tr -d \\[\\] ) )
 }
 complete -F _isql isql
diff --git a/debian/changelog b/debian/changelog
index 05a70f6..a8a054b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -143,8 +143,10 @@ bash-completion (1:1.0-1) UNRELEASED; urgency=low
   * Prevent completion dir from being sourced twice if
     BASH_COMPLETION_DIR and BASH_COMPLETION_COMPAT_DIR are equal (Alioth#311433) 
   * Make `_mii-tool()' and `_mii-diag()' POSIX-compliant
+  * Fix _isql completion waiting for grep input if $ODBCINI not set; handle
+    whitespace in $ODBCINI.
 
- -- Freddy Vulto <fvulto at gmail.com>  Sun, 22 Feb 2009 11:32:41 +0100
+ -- Freddy Vulto <fvulto at gmail.com>  Wed, 25 Feb 2009 21:16:46 +0100
 
 bash-completion (20080705) unstable; urgency=low
 

-- 
bash-completion



More information about the Bash-completion-commits mailing list